public void Withdrawal(WithdrawalRequest withdrawalRequest)
        {
            BankAccount bankAccount = _bankRepository.FindBy(withdrawalRequest.AccountId);

            bankAccount.Withdraw(withdrawalRequest.Amount, "");

            _bankRepository.Save(bankAccount);
        }
        protected void btnWithdrawal_Click(object sender, EventArgs e)
        {
            ApplicationBankAccountService service = new ApplicationBankAccountService();
            WithdrawalRequest request = new WithdrawalRequest();
            Guid AccId = new Guid(ddlBankAccounts.SelectedValue.ToString());
            request.AccountId = AccId;
            request.Amount = Decimal.Parse(txtAmount.Text);

            service.Withdrawal(request);
            DisplaySelectedAccount();
        }