Пример #1
0
 //编辑仓库表
 // GET: /Warehouse/Edit/
 public ActionResult Edit(CMD_WAREHOUSE warehouse)
 {
     bool bResult = WarehouseService.Save(warehouse);
     string msg = bResult ? "修改成功" : "修改失败";
     return Json(JsonMessageHelper.getJsonMessage(bResult, msg, null), "text/html", JsonRequestBehavior.AllowGet);
 }
Пример #2
0
 public ActionResult WareCreate(CMD_WAREHOUSE warehouse)
 {
     bool bResult = WarehouseService.Add(warehouse);
     string msg = bResult ? "新增成功" : "新增失败";
     return Json(JsonMessageHelper.getJsonMessage(bResult, msg, null), "text/html", JsonRequestBehavior.AllowGet);
 }