Exemplo n.º 1
0
 /// <summary>
 /// The all customers.
 /// </summary>
 /// <returns>
 /// The collection of all customers.
 /// </returns>
 public IEnumerable <CustomerDisplay> AllCustomers()
 {
     return(CustomerQuery.GetAllCustomers());
 }
Exemplo n.º 2
0
 /// <summary>
 /// The customer.
 /// </summary>
 /// <param name="key">
 /// The key.
 /// </param>
 /// <returns>
 /// The <see cref="CustomerDisplay"/>.
 /// </returns>
 public CustomerDisplay Customer(string key)
 {
     return(CustomerQuery.GetByKey(key));
 }