//编辑货位表 // GET: /Cell/Edit/ public ActionResult Edit(CMD_CELL cell) { bool bResult = CellService.Save(cell); string msg = bResult ? "修改成功" : "修改失败"; return(Json(JsonMessageHelper.getJsonMessage(bResult, msg, null), "text", JsonRequestBehavior.AllowGet)); }
public ActionResult CellCreate(CMD_CELL cell) { string errorInfo = string.Empty; bool bResult = CellService.Add(cell, out errorInfo); string msg = bResult ? "新增成功" : "新增失败"; return(Json(JsonMessageHelper.getJsonMessage(bResult, msg, errorInfo), "text", JsonRequestBehavior.AllowGet)); }