/// <summary> /// 保存表单(新增、修改) /// </summary> /// <param name="keyValue">主键值</param> /// <param name="entity">实体对象</param> /// <returns></returns> public void SaveForm(string keyValue, DF18x7XinJiangEntity entity, string isCheck) { try { service.SaveForm(keyValue, entity, isCheck); } catch (Exception) { throw; } }
public ActionResult SaveForm(string keyValue, DF18x7XinJiangEntity entity, string isCheck = "0") { df18x7xinjiangbll.SaveForm(keyValue, entity, isCheck); return(Success("操作成功。")); }