// // POST: /SortingLine/Edit/ public ActionResult Edit(SortingLine sortLine) { bool bResult = SortingLineService.Save(sortLine); string msg = bResult ? "修改成功" : "修改失败"; return Json(JsonMessageHelper.getJsonMessage(bResult, msg, null), "text", JsonRequestBehavior.AllowGet); }
// // POST: /SortingLine/Create/ public ActionResult Create(SortingLine sortLine) { bool bResult = SortingLineService.Add(sortLine); string msg = bResult ? "新增成功" : "新增失败"; return Json(JsonMessageHelper.getJsonMessage(bResult, msg, null), "text", JsonRequestBehavior.AllowGet); }