public int getAvailableSeats(Trip trip) {
   return tripService.getAvailableSeatsForTrip(trip);
 }
 @PostConstruct
 public void init() {
   trips = tripService.findAll();
 }