public async Task UpdateCurrentUserProfile(CurrentUserProfileEditDto input) { await ApiClient.PutAsync(GetEndpoint(nameof(UpdateCurrentUserProfile)), input); }
public Task UpdateCurrentUserProfile(CurrentUserProfileEditDto input) { throw new NotImplementedException(); }
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); }
public async Task <PartialViewResult> MySettingsModal() { CurrentUserProfileEditDto currentUserProfileForEdit = await this._profileAppService.GetCurrentUserProfileForEdit(); return(this.PartialView("_MySettingsModal", new MySettingsViewModel(currentUserProfileForEdit))); }