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

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

            return(listener.Call(request));
        }