Beispiel #1
0
 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"));
 }
Beispiel #2
0
 // GET: Typeproduct
 public ActionResult Index()
 {
     ProductManagement.Models.Type type = new ProductManagement.Models.Type();
     ViewBag.Listtype = type.List();
     return(View());
 }