public void CreateAccount(Account newAccount) { if (!_accounts.Contains(newAccount)) { _accounts.Add(newAccount); } }
public void RemoveAccount(Account accountToRemove) { if (_accounts.Contains(accountToRemove)) { _accounts.Remove(accountToRemove); } }