I added some fields to ApplicationUser like this:
public class ApplicationUser : IdentityUser
{
public virtual UserType Type { get; set; }
public string FirstName { get; set; }
public string CompanyName { get; set; }
}
public class UserType
{
public Name {get;set}
}
When registering user by this code, it automatically inserts duplicate data - SelectedType (in UserType table). Look at this code:
protected void CreateUser_Click(object sender, EventArgs Go to the complete details ...