public async Task <IActionResult> Get([FromRoute] Guid orderId, [FromRoute] Guid id)
        {
            var orderLineIdValue = OrderLineId.With(id).Value;
            var orderLine        = await _processor.ProcessAsync(new ReadModelByIdQuery <OrderLineReadModel>(orderLineIdValue), new CancellationToken());

            return(Ok(orderLine));
        }
        public async Task <IActionResult> Get([FromRoute] Guid orderId)
        {
            var orderIdValue  = OrderId.With(orderId).Value;
            var domainResults = await _processor.ProcessAsync(new GetOrderLinesByOrderIdQuery(orderIdValue), new CancellationToken());

            var results = domainResults.Select(x => new OrderLineRead
            {
                Id        = OrderLineId.With(x.Id).GetGuid(),
                ProductId = ProductId.With(x.ProductId).GetGuid(),
                Title     = x.Title,
                Price     = x.Price,
                Amount    = x.Amount
            }).ToList();

            return(Ok(results));
        }