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) {