示例#1
0
        // Method gets a list of customers by the first name
        public List <Customer> GetCustomerByFirstName(string personFirstName)
        {
            BusinessObjects _businessObjects = new BusinessObjects();
            List <Customer> customerList     = Translators.Customer.ToBusinessObject(_dataAccessObjects.GetCustomerByPersonFirstName(personFirstName));
            List <Customer> customers        = PopulateCustomers(customerList);

            return(customers);
        }