Ejemplo n.º 1
0
 public async Task UpdateCurrentUserProfile(CurrentUserProfileEditDto input)
 {
     var user = await GetCurrentUserAsync();
     input.MapTo(user);
     CheckErrors(await UserManager.UpdateAsync(user));
 }
Ejemplo n.º 2
0
 public MySettingsViewModel(CurrentUserProfileEditDto currentUserProfileEditDto)
 {
     currentUserProfileEditDto.MapTo(this);
 }