public ActionResult Details(int id) { var data = _db.getByID(id); ViewBag.dataCategory = _db.dataCategory(); ViewBag.dataProducer = _db.dataProducer(); return(PartialView(data)); }
public ActionResult Details(int id) { var data = _db.getByID(id); ViewBag.dataCategory = _db.dataCategory(); ViewBag.dataProducer = _db.dataProducer(); return(PartialView(data)); }