public ProfileView Get() { var c_userid = User.FindFirst(ClaimTypes.NameIdentifier).Value; ApplicationUser profile = _repo.GetUserProfile(c_userid); ProfileView pf = new ProfileView() { First_Name = profile.First_Name.ToString(), Last_Name = profile.Last_Name.ToString(), Profile_Picture = profile.Profile_Picture.ToString(), Email = profile.Email, }; return(pf); }