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

            return(customers);
        }