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

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

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