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