Example #1
0
        public ActionResult <Plane> GetPlane(int id)
        {
            Plane plane = _planeRepository.GetBy(id);

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

            return(plane);
        }