Example #1
0
        public async Task <ActionResult <Order> > Get(Guid id)
        {
            Order?order = await _queries.FindById(id);

            if (order == null)
            {
                return(NotFound());
            }

            return(order);
        }