protected async Task ShowCreateOperationModal() { SetModalParameters(new CreateOperation(), async(o) => { await OperationService.CreateOperationAsync(o); }); Parameters.Add(nameof(CreateOperationModal.WalletId), selectedWallet.WalletId); var title = Resource.CreateOperatioinTitle; await ShowModalWindowAsync <CreateOperationModal, CreateOperation>(title, async() => { await TryUpdateWalletInfoAsync(); await SetSelectedWalletAsync(await WalletService.GetWalletAsync(selectedWallet.WalletId)); StateHasChanged(); }); }