Ejemplo n.º 1
0
        public JsonResult Read(int skip, int take)
        {
            IEnumerable <CompanyViewModel> result = CompanyRepository.All().OrderByDescending(p => p.CompanyID);

            result = result.Skip(skip).Take(take);

            return(this.Jsonp(result));
        }