1
Answer

Show personal profile in MVC

Shibly  Sadik

Shibly Sadik

9y
453
1
Here is the model class that represent the properties of a user profile.
public class Profile
{

public int ProfileId { get; set; }
public string UserName { get; set; }
public string Age { get; set; }
public string Gender { get; set; }
public string Password { get; set; }
public string Email { get; set; }
}
When users create their profile their profiles are saved in the database..
now,when they log in using their email and password I want to show them their personal profile only.How can I do this?
I am a beginner in mvc..help me explaining detail please..
Answers (1)