protected async Task ShowDeleteModal() { SetModalParameters(selectedWallet, async(w) => { await WalletService.DeleteWalletAsync(w.WalletId); }); var title = string.Format(Resource.DeleteTitle, selectedWallet.Name); await ShowModalWindowAsync <DeleteWallet, WalletModel>(title, async() => { userWallets = await WalletService.GetWalletsAsync(); await SetSelectedWalletAsync(userWallets.FirstOrDefault()); await TryUpdateWalletInfoAsync(); }); }