Esempio n. 1
0
 public async Task UpdateCurrentUserProfile(CurrentUserProfileEditDto input)
 {
     await ApiClient.PutAsync(GetEndpoint(nameof(UpdateCurrentUserProfile)), input);
 }
Esempio n. 2
0
 public Task UpdateCurrentUserProfile(CurrentUserProfileEditDto input)
 {
     throw new NotImplementedException();
 }
Esempio n. 3
0
 public async Task UpdateCurrentUserProfile(CurrentUserProfileEditDto input)
 {
     var user = await GetCurrentUserAsync();
     input.MapTo(user);
     CheckErrors(await UserManager.UpdateAsync(user));
 }
Esempio n. 4
0
 public MySettingsViewModel(CurrentUserProfileEditDto currentUserProfileEditDto)
 {
     currentUserProfileEditDto.MapTo(this);
 }
Esempio n. 5
0
        public async Task <PartialViewResult> MySettingsModal()
        {
            CurrentUserProfileEditDto currentUserProfileForEdit = await this._profileAppService.GetCurrentUserProfileForEdit();

            return(this.PartialView("_MySettingsModal", new MySettingsViewModel(currentUserProfileForEdit)));
        }