Example #1
0
        public ActionResult <Airplane> Get(int id)
        {
            Airplane airplane = _service.Find(id);

            if (airplane == null)
            {
                return(NotFound(airplane));
            }
            else
            {
                return(Ok(airplane));
            }
        }