Esempio n. 1
0
 def is_airport_id_available(airport_id):
     all_flight_routes = DataAPI.get_all_flight_routes()
     for flight_route in all_flight_routes:
         if flight_route.get_airport_id() == airport_id:
             return False
     return True
Esempio n. 2
0
 def get_all_flight_routes():
     return DataAPI.get_all_flight_routes()