Beispiel #1
0
 public void AddAccount(Customer c,Account a)
 {
     c.Accounts.Add(a);
 }
Beispiel #2
0
 public void DelAccount(Customer c, Account a)
 {
     c.Accounts.Remove(a);
 }
Beispiel #3
0
        public void CreateCustomer(string name,string email)
        {
            List<Account> accounts = new List<Account>();

            Customer c = new Customer(name, email, accounts);

            Customers.Add(c);

            refresh();
        }