// GET: Product public ActionResult Category(int id = 0, string name = "", int page = 1, string sort = "standard") { Pager pager = new Pager(10, 100, 5, Request.Url.AbsoluteUri); var list = ProductUtils.getProductList(page, id, sort, "", "", name); ViewBag.Title = name; return(View(list)); }