static void runWork(string id) { WorkflowHostHelper wizardHostHelper = new WorkflowHostHelper(); wizardHostHelper.ResumeWizard(Guid.Parse(id)); string command; while (true) { Console.WriteLine("Enter command n/b: "); command = Console.ReadLine(); wizardHostHelper.RunWorkflow(command.Equals("n") ? "Next" : "Back"); } }
public string Next() { return(host.RunWorkflow("Next")); }