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