public void ChangePublished(GenericCatalogTemplate genericCatalogTemplate)
        {
            if (genericCatalogTemplate.Equals(null))
                throw new ArgumentNullException("genericCatalogTemplate");

            genericCatalogTemplate.Published = !genericCatalogTemplate.Published;
            this.UpdateGenericCatalogTemplate(genericCatalogTemplate);
        }
        public void DeleteGenericCatalogTemplate(GenericCatalogTemplate genericCatalogTemplate)
        {
            if (genericCatalogTemplate.Equals(null))
                throw new ArgumentNullException("genericCatalogTemplate");

            _genericCatalogTemplateRepository.Delete(genericCatalogTemplate);

            _cacheManager.RemoveByPattern(GENERICCATALOGTEMPLATE_ALL);
            _cacheManager.RemoveByPattern(GENERICCATALOGTEMPLATE_BY_ID);
            _cacheManager.RemoveByPattern(GENERICCATALOGTEMPLATE_BY_PAGE);
        }