public async Task Resume(string id)
        {
            var result = await _workflowController.ResumeWorkflow(id);

            if (result)
            {
                Response.StatusCode = 200;
            }
            else
            {
                Response.StatusCode = 400;
            }
        }
Example #2
0
 public Task <bool> ResumeWorkflow(string workflowId)
 {
     return(_workflowController.ResumeWorkflow(workflowId));
 }
 public Task <bool> Resume(string id)
 {
     return(_workflowService.ResumeWorkflow(id));
 }