public List<Customer> RetrieveCustomers(IRetreiveFile retriever, string filePath)
 {
     List<Customer> customers = retriever.GetCustomersFromJsonFile(filePath);
     if (customers == null)
     {
         return null;
     }
     return customers;
 }
Example #2
0
        public List <Customer> RetrieveCustomers(IRetreiveFile retriever, string filePath)
        {
            List <Customer> customers = retriever.GetCustomersFromJsonFile(filePath);

            if (customers == null)
            {
                return(null);
            }
            return(customers);
        }