public Task <IActionResult> UpdateProfile(ChangeProfileModel model)
 {
     return(MakeChangeAsync(user => userManager.UpdateSafeAsync(user.Identity, model.ToValues()),
                            "Account updated successfully."));
 }
Beispiel #2
0
 public Task <IActionResult> UpdateProfile(ChangeProfileModel model)
 {
     return(MakeChangeAsync(id => userService.UpdateAsync(id, model.ToValues()),
                            T.Get("users.profile.updateProfileDone"), model));
 }
 public Task <IActionResult> UpdateProfile(ChangeProfileModel model)
 {
     return(MakeChangeAsync(u => UpdateAsync(u, model.ToValues()),
                            "Account updated successfully.", model));
 }