示例#1
0
 public ActionResult EditBuytype(BuyType bt)
 {
     buytypeComponent.Update(bt);
     return RedirectToAction("Index");
 }
示例#2
0
 public ActionResult CreateBuytype(BuyType bt)
 {
     buytypeComponent.Save(bt);
     return RedirectToAction("Index");
 }