public string CancelInvite(InviteAttendeesInput input) { if (input == null) { this.InternalServerError(); } Trace.WriteLine("Invite is Cancelled: " + input.InviteId); var workflowContext = new WorkflowContext() { WorkflowStep = "cancel", DataKey = input.InviteId, WorkflowType = "multi_invite", WorkflowId = input.InviteId, Parameters = input, }; return(WorkflowEngine.Process(workflowContext)); }
public string InviteAttendees(InviteAttendeesInput input) { if (input == null) { this.InternalServerError(); } Trace.WriteLine("Contacts are going to be invited for invite: " + input.InviteId); var workflowContext = new WorkflowContext() { WorkflowStep = "invite_contacts", DataKey = input.InviteId, WorkflowType = "multi_invite", WorkflowId = input.InviteId, Parameters = input, }; return(WorkflowEngine.Process(workflowContext)); }