예제 #1
0
        public IActionResult PublishMessage2()
        {
            _capBus.Publish("D", FlowContext <List <string> > .Start(new List <string>()
            {
                "D"
            }));

            return(Ok(DateTime.Now));
        }
예제 #2
0
        public IActionResult PublishMessage()
        {
            _capBus.Publish("A", FlowContext <string> .Start("Client"));

            return(Ok(DateTime.Now));
        }