示例#1
0
 /// <summary>
 /// The all customers.
 /// </summary>
 /// <returns>
 /// The collection of all customers.
 /// </returns>
 public IEnumerable <CustomerDisplay> AllCustomers()
 {
     return(CustomerQuery.GetAllCustomers());
 }
示例#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));
 }