Example #1
0
 public void AddAccount(IAccount account)
 {
     if (account != null)
     {
         this.accounts.Add(account);
     }
 }
Example #2
0
 public void RemoveAccount(IAccount account)
 {
     if (account != null)
     {
         this.accounts.Remove(account);
     }
 }
Example #3
0
 private void ValidateInputAccount(IAccount account)
 {
     if (account == null)
     {
         throw new ArgumentNullException("Account can't be null");
     }
 }