Beispiel #1
0
        public ActionResult getByCategoryID(int?page, int categoryID)
        {
            var data = _db.getByCategoryId(page, categoryID);

            ViewBag.categoryID   = categoryID;
            ViewBag.dataProducer = _db.dataProducer();
            return(PartialView(data));
        }