public virtual CreateJobResponse CreateImageJob(string imageUrl, string teamName, string contentId, string workflowName, string callbackEndpoint = "")
 {
     return(PolicyService.ExecuteRetryAndCapture400Errors(
                "ContentModeratorService.CreateImageJob",
                ApiKeys.ContentModeratorRetryInSeconds,
                () =>
     {
         var result = ContentModeratorRepository.CreateImageJob(imageUrl, teamName, contentId, workflowName, callbackEndpoint);
         return result;
     },
                null));
 }
        public virtual CreateJobResponse CreateImageJob(string imageUrl, string teamName, string contentId, string workflowName, string callbackEndpoint = "")
        {
            try
            {
                var result = ContentModeratorRepository.CreateImageJob(imageUrl, teamName, contentId, workflowName, callbackEndpoint);

                return(result);
            }
            catch (Exception ex)
            {
                Logger.Error("ContentModeratorService.CreateImageJob failed", this, ex);
            }

            return(null);
        }