Exemplo n.º 1
0
 public Task <IActionResult> UpdateProperties(ChangePropertiesModel model)
 {
     return(MakeChangeAsync(id => userService.UpdateAsync(id, model.ToValues()),
                            T.Get("users.profile.updatePropertiesDone"), model));
 }
Exemplo n.º 2
0
 public Task <IActionResult> UpdateProperties(ChangePropertiesModel model)
 {
     return(MakeChangeAsync(u => UpdateAsync(u, model.ToValues()),
                            "Account updated successfully.", model));
 }