public virtual bool DeleteTerm(string listId, string term, string language) { return(PolicyService.ExecuteRetryAndCapture400Errors( "ContentModeratorService.DeleteTerm", ApiKeys.ContentModeratorRetryInSeconds, () => { ContentModeratorRepository.DeleteTerm(listId, term, language); return true; }, false)); }
public virtual bool DeleteTerm(string listId, string term, string language) { try { ContentModeratorRepository.DeleteTerm(listId, term, language); return(true); } catch (Exception ex) { Logger.Error("ContentModeratorService.DeleteTerm failed", this, ex); } return(false); }