public ActionResult New(OrderForm form)
        {
            var order = new OrderAfter
            {
                Name = form.Name,
                Amount = form.Amount,
                ClientOrderId = Guid.NewGuid()
            };

            SaveOrder(order);

            var message = new PlaceOrder
            {
                Name = order.Name,
                Amount = order.Amount,
                ClientOrderId = order.ClientOrderId
            };

            MvcApplication.Bus.Send(message);

            return RedirectToAction("Show", new { order.ClientOrderId });
        }
        public ActionResult New(OrderForm form)
        {
            var order = new Order
            {
                Name = form.Name,
                Amount = form.Amount,
            };

            var orderSvc = new Orders.OrderServiceClient();

            order.OrderId = orderSvc.CreateOrder(order.Name, order.Amount);

            var shippingSvc = new Shipping.ShippingServiceClient();

            bool success = shippingSvc.ProcessOrderForShipping(order.OrderId);

            order.Success = success;

            SaveOrder(order);

            return RedirectToAction("Show", new { order.OrderId });
        }