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