Example #1
0
 public ActionResult EventPermissionCheck_User(EventPermissionModel reportsBase)
 {
     try
     {
         actionResult.dtResult = EventDL.EventPermissionCheck_User(reportsBase);
         if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0)
         {
             actionResult.IsSuccess = true;
         }
         else
         {
             actionResult.IsSuccess = false;
         }
     }
     catch (Exception ex)
     {
         ErrorReporting.ActionLayerError(ex);
     }
     return(actionResult);
 }