/// <summary>
 /// 保存表单
 /// </summary>
 /// <param name="keyValue">主键值</param>
 /// <param name="AppModuleEntity">功能实体</param>
 /// <param name="moduleButtonList">按钮实体列表</param>
 /// <param name="moduleColumnList">视图实体列表</param>
 /// <returns></returns>
 public void SaveForm(string keyValue, AppModuleEntity AppModuleEntity, string moduleButtonListJson, string moduleColumnListJson)
 {
     try
     {
         var moduleButtonList = moduleButtonListJson.ToList <AppModuleButtonEntity>();
         var moduleColumnList = moduleColumnListJson.ToList <AppModuleColumnEntity>();
         service.SaveForm(keyValue, AppModuleEntity, moduleButtonList, moduleColumnList);
     }
     catch (Exception)
     {
         throw;
     }
 }
 public ActionResult SaveForm(string keyValue, AppModuleEntity moduleEntity, string moduleButtonListJson, string moduleColumnListJson)
 {
     moduleBLL.SaveForm(keyValue, moduleEntity, moduleButtonListJson, moduleColumnListJson);
     return(Success("保存成功。"));
 }