Esempio n. 1
0
        // GET: api/Orders/5
        public async Task <IHttpActionResult> Get(int id, CancellationToken ct)
        {
            var order = await _service.Find(id, ct);

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