public PartialViewResult Deletetype(int id) { ProductManagement.Models.Type type = new ProductManagement.Models.Type(); ViewBag.msg = type.Delete(id); ViewBag.Listtype = type.List(); return(PartialView("_Listtype")); }
// GET: Typeproduct public ActionResult Index() { ProductManagement.Models.Type type = new ProductManagement.Models.Type(); ViewBag.Listtype = type.List(); return(View()); }