// // GET: /Item/ public ActionResult Index(int?page) { var items = _itemService.AsQueryable(); var pageNumber = page ?? 1; var selecteditems = items.OrderBy(x => x.Id).ToPagedList(pageNumber, 20); return(View(selecteditems)); }