public dynamic GetGender() { var GenderList = _DbContext.Genders.ToList(); var Gender = new AspNetUsersProfileViewModel { Genders = GenderList }; return(Gender); }
public dynamic GetProfile() { var userId = User.Identity.GetUserId(); var ProfileList = _DbContext.AspNetUsersProfiles.Find(userId); var md = new AspNetUsersProfileViewModel { }; return(ProfileList); }