public ActionResult getByCategoryID(int?page, int categoryID) { var data = _db.getByCategoryId(page, categoryID); ViewBag.categoryID = categoryID; ViewBag.dataProducer = _db.dataProducer(); return(PartialView(data)); }
public ActionResult getByCategoryID(int?page, int categoryID) { var data = _db.getByCategoryId(page, categoryID); ViewBag.categoryID = categoryID; ViewBag.dataProducer = _db.dataProducer(); return(PartialView(data)); }