Exemple #1
0
        // Method gets a list of customers by the customer ID
        public List <Customer> GetCustomerByCustomerId(Guid customerId)
        {
            BusinessObjects _businessObjects = new BusinessObjects();
            List <Customer> customerList     = Translators.Customer.ToBusinessObject(_dataAccessObjects.GetCustomerByCustomerId(customerId));
            List <Customer> customers        = PopulateCustomers(customerList);

            return(customers);
        }