Exemplo n.º 1
0
        public bool DeleteResourceSet(string ResourceSet)
        {
#if OnlineDemo
            throw new ApplicationException(WebUtils.LRes("FeatureDisabled"));
#endif

            return(Manager.DeleteResourceSet(ResourceSet));
        }
        public bool DeleteResourceSet(string resourceSet)
        {
#if OnlineDemo
        throw new ApplicationException(WebUtils.GRes("FeatureDisabled"));
#endif
            if (!Manager.DeleteResourceSet(resourceSet))
                throw new ApplicationException(Manager.ErrorMessage);

            return true;
        }