public Customer VerifyCustomerAddresses(Customer customer, IEnumerable<Address> addresses)
 {
     return addresses.Contains(customer.Address) ? customer : null;
 }
 public IEnumerable<Order> GetOrdersFromCustomerByNotes(Customer customer, IEnumerable<string> notes)
 {
     return customer.Orders.Where(order => order.Notes.Intersect(notes).Any());
 }
 public Customer VerifyCustomerAddress(Customer customer, Address address)
 {
     return address != null && address.Equals(customer.Address) ? customer : null;
 }
 public IList<Order> PlaceOrders(Customer customer, IList<Order> orders)
 {
     return orders;
 }
 public Order PlaceOrder(Customer customer, Order order)
 {
     return order;
 }
 public Address GetCustomerAddress(Customer customer)
 {
     return customer.Address;
 }
 public Customer VerifyCustomerByOrder(Customer customer, Order order)
 {
     return customer.Orders.Any(o => o.ID == order.ID) ? customer : null;
 }