コード例 #1
0
        // Method gets a list of customers by the customer email address
        public List <Customer> GetCustomerByEmail(string email)
        {
            BusinessObjects _businessObjects = new BusinessObjects();
            List <Customer> customerList     = Translators.Customer.ToBusinessObject(_dataAccessObjects.GetCustomerByPersonEmail(email));
            List <Customer> customers        = PopulateCustomers(customerList);

            return(customers);
        }