public IHttpActionResult DeliverOrder([FromBody] GuidModel model)
        {
            var cmd   = new DeliverOrder(model.OrderId);
            var order = _commandDispatcher.ExecuteCommand <OrderAggregate>(cmd);

            return(Ok(OrderModel.FromAggregate(order)));
        }
        public IHttpActionResult PrepareForShipping([FromBody] GuidModel model)
        {
            var cmd   = new PrepareOrderForShipping(model.OrderId);
            var order = _commandDispatcher.ExecuteCommand <OrderAggregate>(cmd);

            return(Ok(OrderModel.FromAggregate(order)));
        }