public void AddAccount(Customer c,Account a) { c.Accounts.Add(a); }
public void DelAccount(Customer c, Account a) { c.Accounts.Remove(a); }
public void CreateCustomer(string name,string email) { List<Account> accounts = new List<Account>(); Customer c = new Customer(name, email, accounts); Customers.Add(c); refresh(); }