Exemple #1
0
 public async Task UpdateCurrentUserProfile(CurrentUserProfileEditDto input)
 {
     await ApiClient.PutAsync(GetEndpoint(nameof(UpdateCurrentUserProfile)), input);
 }
Exemple #2
0
 public Task UpdateCurrentUserProfile(CurrentUserProfileEditDto input)
 {
     throw new NotImplementedException();
 }
Exemple #3
0
 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)));
        }