﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Portal.CMS.Web.Areas.Admin.ViewModels.SettingManager
{
    public class SetupViewModel
    {
        [Required]
        [DisplayName("Website Name")]
        public string WebsiteName { get; set; }

        [Required]
        [DisplayName("Website Description")]
        public string WebsiteDescription { get; set; }

        [DisplayName("Google Tracking Code")]
        public string GoogleAnalyticsId { get; set; }

        [DisplayName("Email From Address")]
        public string EmailFromAddress { get; set; }

        [DisplayName("SendGrid API Key")]
        public string SendGridApiKey { get; set; }

        [DisplayName("SendGrid Password")]
        public string SendGridPassword { get; set; }

        [DisplayName("CDN Address")]
        public string CDNAddress { get; set; }
    }
}
﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Portal.CMS.Web.Areas.Admin.ViewModels.SettingManager
{
    public class SetupViewModel
    {
        [Required]
        [DisplayName("Website Name")]
        public string WebsiteName { get; set; }

        [Required]
        [DisplayName("Website Description")]
        public string WebsiteDescription { get; set; }

        [DisplayName("Google Tracking Code")]
        public string GoogleAnalyticsId { get; set; }

        [DisplayName("Email From Address")]
        public string EmailFromAddress { get; set; }

        [DisplayName("SendGrid API Key")]
        public string SendGridApiKey { get; set; }

        [DisplayName("CDN Address")]
        public string CDNAddress { get; set; }
    }
}
Remove Obselete ViewModel Property for SendGrid Password
Remove Obselete ViewModel Property for SendGrid Password
