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