コード例 #1
0
 public ActionResult Edit(CMD_PRODUCT_ORIGINAL original, string ORIGINAL_CODE)
 {
     bool bResult = ProductOriginalService.Edit(original, ORIGINAL_CODE);
     string msg = bResult ? "修改成功" : "修改失败";
     return Json(JsonMessageHelper.getJsonMessage(bResult, msg, null), "text/html", JsonRequestBehavior.AllowGet);
 }
コード例 #2
0
 public ActionResult Add(CMD_PRODUCT_ORIGINAL original)
 {
     bool bResult = ProductOriginalService.Add(original);
     string msg = bResult ? "新增成功" : "新增失败";
     return Json(JsonMessageHelper.getJsonMessage(bResult, msg, null), "text/html", JsonRequestBehavior.AllowGet);
 }