public ActionResult Edit(CMD_PRODUCT_GRADE grade, string GRADE_CODE) { bool bResult = ProductGradeService.Edit(grade, GRADE_CODE ); string msg = bResult ? "修改成功" : "修改失败"; return Json(JsonMessageHelper.getJsonMessage(bResult, msg, null), "text/html", JsonRequestBehavior.AllowGet); }
public ActionResult Add(CMD_PRODUCT_GRADE grade) { bool bResult = ProductGradeService.Add(grade); string msg = bResult ? "新增成功" : "新增失败"; return Json(JsonMessageHelper.getJsonMessage(bResult, msg, null), "text/html", JsonRequestBehavior.AllowGet); }