Exemplo n.º 1
0
        public async Task <ActionResult <IEnumerable <Order> > > GetAllOrders()
        {
            _logger.LogInformation("GetAllOrders was called");

            var orders = await _orderRepo.GetAllAsync();

            return(Ok(orders));
        }