Exemple #1
0
        // Method gets a list of customers by the phone number
        public List <Customer> GetCustomerByPhoneNumber(string phoneNumber)
        {
            BusinessObjects _businessObjects = new BusinessObjects();
            List <Customer> customerList     = Translators.Customer.ToBusinessObject(_dataAccessObjects.GetCustomerByPersonPhone(phoneNumber));
            List <Customer> customers        = PopulateCustomers(customerList);

            return(customers);
        }