// GET: /JobReceiveHeader/ public ActionResult Index(int id, string IndexType) { IQueryable <Dimension1> Dimension1 = _Dimension1Service.GetDimension1List(id); ViewBag.id = id; return(View(Dimension1)); }
// GET: /ProductMaster/ public ActionResult Index(int id) { var Dimension1 = _Dimension1Service.GetDimension1List(id); ViewBag.id = id; ViewBag.Name = new ProductTypeService(_unitOfWork).Find(id).ProductTypeName; return(View(Dimension1)); //return RedirectToAction("Create"); }