public virtual WorkflowExpressionResponse GetWorkflow(string teamName, string workflowName) { try { var result = Task.Run(async() => await ContentModeratorRepository.GetWorkflowAsync(teamName, workflowName)).Result; return(result); } catch (Exception ex) { Logger.Error("ContentModeratorService.GetWorkflow failed", this, ex); } return(null); }