public ActionResult EditPro(ProductType pt) { producttypeComponent.Update(pt); return RedirectToAction("Index"); }
public ActionResult CreatePro(ProductType pt) { producttypeComponent.Save(pt); return RedirectToAction("Index"); }