Beispiel #1
0
 public void TransferAmount(Account source, Account destination, double amount)
 {
     if (source.CheckIfAmtAvailableInAccount(amount))
     {
         source.Withdraw(amount);
         destination.Deposit(amount);
     }
 }