private async Task OnCancelAsync() { await HardwareVaultService.UnchangedProfileAsync(AccessProfile); }
protected override async Task ModalDialogCancel() { await HardwareVaultService.UnchangedProfileAsync(AccessProfile); await base.ModalDialogCancel(); }