public static FwkCategoryList SearchAllRulesCategory()
        {
            SearchAllRulesCategoryReq req = new SearchAllRulesCategoryReq();

            SearchAllRulesCategoryRes res = req.ExecuteService <SearchAllRulesCategoryReq, SearchAllRulesCategoryRes>(WrapperSecurityProvider, req);

            if (res.Error != null)
            {
                throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error);
            }

            return(res.BusinessData);
        }
        public static FwkCategoryList SearchAllRulesCategory()
        {
            SearchAllRulesCategoryReq req = new SearchAllRulesCategoryReq();

            SearchAllRulesCategoryRes res = req.ExecuteService<SearchAllRulesCategoryReq, SearchAllRulesCategoryRes>(WrapperSecurityProvider,req);

            if (res.Error != null)
                throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error);

            return res.BusinessData;
        }