From 08b38cf6f8509bd954136e019c710f775f2cd919 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli (WEB DEV)" Date: Thu, 20 Oct 2016 23:52:03 +0200 Subject: [PATCH] commento con link x paginazione --- StockManMVC/Controllers/LocationsController.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/StockManMVC/Controllers/LocationsController.cs b/StockManMVC/Controllers/LocationsController.cs index dd3c9fe..9aac7f1 100644 --- a/StockManMVC/Controllers/LocationsController.cs +++ b/StockManMVC/Controllers/LocationsController.cs @@ -7,6 +7,7 @@ using System.Net; using System.Web; using System.Web.Mvc; using StockManMVC.Models; +using PagedList; namespace StockManMVC.Controllers { @@ -14,6 +15,10 @@ namespace StockManMVC.Controllers { private StockManEntities db = new StockManEntities(); + // vedere questi link x completare: + // https://www.asp.net/mvc/overview/getting-started/getting-started-with-ef-using-mvc/sorting-filtering-and-paging-with-the-entity-framework-in-an-asp-net-mvc-application + // http://devproconnections.com/aspnet-mvc/aspnet-mvc-paging-done-perfectly + // GET: Locations/LocTypeID public ActionResult Index(string LocTypeID, string SearchVal, string SortOrd) {