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