예제 #1
0
 /// <summary>
 /// 保存表单(新增、修改)
 /// </summary>
 /// <param name="keyValue">主键值</param>
 /// <param name="entity">实体对象</param>
 /// <returns></returns>
 public void SaveForm(string keyValue, Base_CodeRuleEntity entity)
 {
     try
     {
         service.SaveForm(keyValue, entity);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
 /// <summary>
 /// 保存SaveForm
 /// </summary>
 /// <param name="keyValue">主键值</param>
 /// <param name="oneEntity">oneEntity</param>
 /// <returns></returns>
 public void SaveForm(string keyValue, Base_CodeRuleEntity oneEntity)
 {
     try
     {
         service.SaveForm_Auto(keyValue, oneEntity);
     }
     catch (Exception)
     {
         throw;
     }
 }
예제 #3
0
 public ActionResult SaveForm(string keyValue, Base_CodeRuleEntity entity)
 {
     base_coderulebll.SaveForm(keyValue, entity);
     return(Success("操作成功。"));
 }