public IEnumerable<CustomerDisplay> GetAllCustomers(int page, int perPage) { var merchello = new MerchelloHelper(); return merchello.AllCustomers().Skip((page - 1) * perPage).Take(perPage); }
public IEnumerable <CustomerDisplay> GetAllCustomers(int page, int perPage) { var merchello = new MerchelloHelper(); return(merchello.AllCustomers().Skip((page - 1) * perPage).Take(perPage)); }
public IEnumerable<CustomerDisplay> GetAllCustomers() { var merchello = new MerchelloHelper(); return merchello.AllCustomers(); }
public IEnumerable <CustomerDisplay> GetAllCustomers() { var merchello = new MerchelloHelper(); return(merchello.AllCustomers()); }