public IEnumerable<CustomerDisplay> GetAllCustomers(int page, int perPage)
        {
            var merchello = new MerchelloHelper();

            return merchello.AllCustomers().Skip((page - 1) * perPage).Take(perPage);
        }
示例#2
0
        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();
        }
示例#4
0
        public IEnumerable <CustomerDisplay> GetAllCustomers()
        {
            var merchello = new MerchelloHelper();

            return(merchello.AllCustomers());
        }