예제 #1
0
 /// <summary>
 /// Add new bank account activity
 /// </summary>
 /// <param name="activity"></param>
 public void AddBankAccountTransaction(BankAccountTransaction activity)
 {
     _transactions.Add(activity);
     _balance += activity.Amount;
 }
예제 #2
0
 /// <summary>
 /// Add new bank account activity
 /// </summary>
 /// <param name="transaction"></param>
 public void AddBankAccountTransaction(BankAccountTransaction transaction)
 {
     _transactions.Add(transaction);
     Balance += transaction.Amount;
 }