public virtual bool DeleteAllTerms(string listId, string language)
 {
     return(PolicyService.ExecuteRetryAndCapture400Errors(
                "ContentModeratorService.DeleteAllTerms",
                ApiKeys.ContentModeratorRetryInSeconds,
                () =>
     {
         ContentModeratorRepository.DeleteAllTerms(listId, language);
         return true;
     },
                false));
 }
        public virtual bool DeleteAllTerms(string listId, string language)
        {
            try
            {
                ContentModeratorRepository.DeleteAllTerms(listId, language);

                return(true);
            }
            catch (Exception ex)
            {
                Logger.Error("ContentModeratorService.DeleteAllTerms failed", this, ex);
            }

            return(false);
        }