public void AddOwnerToBankAccount(IBankAccount acc, ICustomer owner) { if (owner.BankAccounts.Contains(acc)) { throw new ArgumentException("Owner already registered for bank account"); } acc.AddOwner(owner); }