//Fund Transfer between Accounts public bool FundTransfer(string accountFrom, string AccountTo, double Amount, string Currency) { var withdraw = AccountOperation.Withdraw(accountFrom, Amount, Currency); var deposit = AccountOperation.Deposit(AccountTo, Amount, Currency); if (withdraw == true && deposit == true) { return(true); } else { return(false); } }
//Account Deposit public bool AccountDeposit(string AccNo, double Amount, string Currency) { var deposit = AccountOperation.Deposit(AccNo, Amount, Currency); return(deposit); }