Exemplo n.º 1
0
 public Order(Customer customer, Item item, int quantity)
 {
     Customer = customer;
     Item = item;
     Quantity = quantity;
 }
Exemplo n.º 2
0
 public void AddCustomer(Customer customer)
 {
     if (!_customers.Contains(customer))
     {
         _customers.Add(customer);
     }
 }