public async Task<ActionResult> Submit(MyMessageViewModel model)
        {
            await _bus.Publish<MyMessage>(new
            {
                Message = model.Text ?? "Unknown"
            });

            return View("Index");
        }
        public async Task<ActionResult> Submit(MyMessageViewModel model)
        {
            if (ModelState.IsValid)
            {
                var sendEndpoint = await _bus.GetSendEndpoint(new Uri(ConfigurationManager.AppSettings["MyCommandQueueFullUri"]));
                for (int i = 1; i <= model.CommandCount; i++)
                    await sendEndpoint.Send<MyCommand>(new
                    {
                        Message = string.Format("Command{0}", i)
                    });

                for (int i = 1; i <= model.EventCount; i++)
                    await _bus.Publish<MyEvent>(new
                    {
                        Message = string.Format("Event{0}", i)
                    });

                
                    return RedirectToAction("Index");
            }

            return View("Index");
        }