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