public async Task <IActionResult> Get(string id)
        {
            _logger.LogDebug("GET order");
            var model = await _service.Get(id);

            return(Ok(model));
        }
Beispiel #2
0
        public OrderDto Get(Guid id)
        {
            var order = _orderAppService.Get(id);

            return(order);
        }
Beispiel #3
0
 public OrderDTO GetById(string orderId)
 {
     return(_orderAppService.Get(orderId));
 }