Browse Source

remove update confirmation from account.blazor

pull/5439/head
Ahmet Çotur 6 years ago
parent
commit
8128df2256
  1. 12
      modules/account/src/Volo.Abp.Account.Blazor/Pages/Account/Manage.razor.cs

12
modules/account/src/Volo.Abp.Account.Blazor/Pages/Account/Manage.razor.cs

@ -58,11 +58,6 @@ namespace Volo.Abp.Account.Blazor.Pages.Account
return;
}
if (!await UiMessageService.ConfirmAsync(UiLocalizer["AreYouSure"]))
{
return;
}
await ProfileAppService.ChangePasswordAsync(new ChangePasswordInput
{
CurrentPassword = ChangePasswordModel.CurrentPassword,
@ -73,12 +68,7 @@ namespace Volo.Abp.Account.Blazor.Pages.Account
}
protected async Task UpdatePersonalInfoAsync()
{
if (!await UiMessageService.ConfirmAsync(UiLocalizer["AreYouSure"]))
{
return;
}
{
await ProfileAppService.UpdateAsync(
ObjectMapper.Map<PersonalInfoModel, UpdateProfileDto>(PersonalInfoModel)
);

Loading…
Cancel
Save