예제 #1
0
 public ActionResult InBillDetailEdit(InBillDetail inBillDetail)
 {
     string strResult = string.Empty;
     bool bResult = InBillDetailService.Save(inBillDetail, out strResult);
     string msg = bResult ? "修改成功" : "修改失败";
     return Json(JsonMessageHelper.getJsonMessage(bResult, msg, strResult), "text", JsonRequestBehavior.AllowGet);
 }
 public ActionResult InBillDetailCreate(InBillDetail inBillDetail)
 {
     bool bResult = InBillDetailService.Add(inBillDetail);
     string msg = bResult ? "新增成功" : "新增失败";
     return Json(JsonMessageHelper.getJsonMessage(bResult, msg, null), "text", JsonRequestBehavior.AllowGet);
 }