4
Answers

customize or personalize management of UserProfile table

Ramsès Zogning II

Ramsès Zogning II

9y
768
1
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)