Exemplo n.º 1
0
 public ActionResult SubMenuPermissions(RoleBase roleBase)
 {
     try
     {
         actionResult.dtResult = admintDL.SubMenuPermissions(roleBase);
         if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0)
         {
             actionResult.IsSuccess = true;
         }
         else
         {
             actionResult.IsSuccess = false;
         }
     }
     catch (Exception ex)
     {
         ErrorReporting.ActionLayerError(ex);
     }
     return(actionResult);
 }