/// <summary>
        /// Get the given customer
        /// </summary>
        /// <param name="customerId"></param>
        /// <returns></returns>
        public CustomerImpl GetCustomer(int customerId)
        {
            if (!ValidCustomerId(customerId))
            {
                return(null);
            }

            return(CustomerImplList.Where(c => c.CustomerId == customerId).Select(c => c).SingleOrDefault());
        }
 /// <summary>
 /// get a customer by name
 /// </summary>
 /// <param name="customerName"></param>
 /// <returns></returns>
 public CustomerImpl GetCustomer(string customerName)
 {
     return(CustomerImplList.Where(c => c.Name == customerName).Select(c => c).SingleOrDefault());
 }
 /// <summary>
 /// Get the cutomer ID based on name
 /// </summary>
 /// <param name="name"></param>
 /// <returns></returns>
 public int GetCustomerId(string name)
 {
     return(CustomerImplList.Where(c => c.Name == name).Select(c => c.CustomerId).SingleOrDefault());
 }