public IHttpActionResult GetTrip(int id) { Trip trip = tripService.FindById(id); if (trip == null) { return(NotFound()); } return(Ok(trip)); }