コード例 #1
0
        public virtual bool DeleteAllTerms(string listId, string language)
        {
            try
            {
                Task.Run(async() => await ContentModeratorRepository.DeleteAllTermsAsync(listId, language));

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

            return(false);
        }