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