public List <Customer> CurrentCustomers(bool active) { List <Customer> customers = null; try { customers = CustomerAccessor.RetrieveCurrentCustomers(true); } catch (Exception ex) { throw new ApplicationException("An error occurred loading current customers list" + ex.StackTrace); } return(customers); }
public List <Customer> CurrentCustomersList() { List <Customer> customers = null; try { customers = CustomerAccessor.RetrieveCurrentCustomers(true); } catch (Exception ex) { throw new ApplicationException("A problem occurred loading this list of current customers" + ex.Message); } return(customers); }