示例#1
0
        public async Task <object> LaunchProcess(object msn)
        {
            Message            message    = (Message)msn;
            String             service    = message.Service;
            WorkflowController controller = new WorkflowController();
            object             msg        = null;

            switch (service)
            {
            case "1":
                msg = controller.Method(message);
                break;

            case "2":

                break;
            }
            return(msg);
        }