public virtual List <WorkflowExpressionResponse> GetAllWorkflows(string teamName) { return(PolicyService.ExecuteRetryAndCapture400Errors( "ContentModeratorService.GetAllWorkflows", ApiKeys.ContentModeratorRetryInSeconds, () => { var result = ContentModeratorRepository.GetAllWorkflows(teamName); return result; }, null)); }
public virtual List <WorkflowExpressionResponse> GetAllWorkflows(string teamName) { try { var result = ContentModeratorRepository.GetAllWorkflows(teamName); return(result); } catch (Exception ex) { Logger.Error("ContentModeratorService.GetAllWorkflows failed", this, ex); } return(null); }