public virtual ListDetails GetTermListDetails(string listId) { return(PolicyService.ExecuteRetryAndCapture400Errors( "ContentModeratorService.GetTermListDetails", ApiKeys.ContentModeratorRetryInSeconds, () => { var result = ContentModeratorRepository.GetTermListDetails(listId); return result; }, null)); }
public virtual ListDetails GetTermListDetails(string listId) { try { var result = ContentModeratorRepository.GetTermListDetails(listId); return(result); } catch (Exception ex) { Logger.Error("ContentModeratorService.GetTermListDetails failed", this, ex); } return(null); }