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