public IActionResult Send() { var walletTransfer = new WalletTransfer(); ViewBag.Address = new SelectList(_blockchainClient.wallet.WalletsAddress); return(PartialView("../Home/_Send", walletTransfer)); }
public IActionResult Send(WalletTransfer walletTransfer) { _blockchainClient.wallet.TransferValue(walletTransfer.AddressFrom, walletTransfer.Value, walletTransfer.AddressTo); return(RedirectToAction("Miner")); }