using Resources; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; using Weee.Models; namespace Weee.ViewModels.Lca { public class LcaIndexViewModel : ViewModelBase { public List users { get; set; } //[Display(Name = "UserName", ResourceType = typeof(Resource))] //[Required(ErrorMessageResourceType = typeof(Resource), // ErrorMessageResourceName = "RequiredMessage")] //public string Name { get; set; } //[Display(Name = "UserDepartment", ResourceType = typeof(Resource))] //public string Department { get; set; } //[Display(Name = "UserJob", ResourceType = typeof(Resource))] //public string Job { get; set; } ////to do : this property should merge into Email in IdentityUser //[Display(Name = "UserEmail", ResourceType = typeof(Resource))] //[Required(ErrorMessageResourceType = typeof(Resource), // ErrorMessageResourceName = "RequiredMessage")] //public override string Email { get; set; } ////to do : this property should merge into PhoneNumber in IdentityUser //[Display(Name = "UserPhoneNumber", ResourceType = typeof(Resource))] //public override string PhoneNumber { get; set; } } }