Ramsès Zogning II

Ramsès Zogning II

  • NA
  • 84
  • 20.1k

customize or personalize management of UserProfile table

Dec 14 2014 9:39 PM
hello

I just created an MVC application 4 razor and I changed the UserProfile table of my AccountModel.cs as follows:


        [Key]
        public int UserId { get; set; }
        public string UserName { get; set; }
        public string Prenom { get; set; }
        public string FullName { get; set; }
        public string Email { get; set; }
        public DateTime Born { get; set; }
        public bool IsFemale { get; set; }
        public string IPs { get; set; }


When I want to manage my account, the template automatically generated by Visual Studio 2013 just allows me to change the password.

How to have the ability to manage either the sets of elements (UserName, Surname, ..., PIs) of UserPprofile table or some elements (UserName, Born).

I tried to change the controller and the Model to Manage, but it does not.
How to please!

Thank you.

Answers (4)