public ActionResult <Airplane> Get(int id) { Airplane airplane = _service.Find(id); if (airplane == null) { return(NotFound(airplane)); } else { return(Ok(airplane)); } }
public ActionResult <Airplane> Get(int id) { Airplane airplane = _service.Find(id); if (airplane == null) { return(NotFound(airplane)); } else { return(Ok(airplane)); } }