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