예제 #1
0
 public ActionResult EditPro(ProductType pt)
 {
     producttypeComponent.Update(pt);
     return RedirectToAction("Index");
 }
예제 #2
0
 public ActionResult CreatePro(ProductType pt)
 {
     producttypeComponent.Save(pt);
     return RedirectToAction("Index");
 }