public virtual WorkflowExpressionResponse GetWorkflow(string teamName, string workflowName)
 {
     return(PolicyService.ExecuteRetryAndCapture400Errors(
                "ContentModeratorService.GetWorkflow",
                ApiKeys.ContentModeratorRetryInSeconds,
                () =>
     {
         var result = ContentModeratorRepository.GetWorkflow(teamName, workflowName);
         return result;
     },
                null));
 }
        public virtual WorkflowExpressionResponse GetWorkflow(string teamName, string workflowName)
        {
            try
            {
                var result = ContentModeratorRepository.GetWorkflow(teamName, workflowName);

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

            return(null);
        }