public ActionResult Edit(ProductIsInfractionType obj) { bool isOk = Update<ProductIsInfractionType>(obj); return Json(new { IsSuccess = isOk }); }
public JsonResult Create(ProductIsInfractionType obj) { bool isOk = Save(obj); return Json(new { IsSuccess = isOk }); }