public static async Task <WorkflowServiceTaskResponse> Call
            (ListenerViewModel request, string serviceTaskName)
        {
            IWorkflowServiceTaskListener listener = WorkflowServiceTaskFactory.GetService(serviceTaskName);

            return(await listener.Call(request));
        }
Exemplo n.º 2
0
        public static WorkflowServiceTaskResponse Call
            (WorkflowServiceTaskRequest request, string serviceTaskName)
        {
            IWorkflowServiceTaskListener listener = WorkflowServiceTaskFactory.GetService(serviceTaskName);

            return(listener.Call(request));
        }