def get_dest_list(self):
     ''' Returns a list of all Destinations from file '''
     dest_list = IO_DestinationsFromFile().get_dest_from_file()
     return dest_list
 def set_destination(self, destinationToCreate):
     '''Sends the destination to create to the datalayer'''
     IO_DestinationsFromFile().addDestinationToFile(destinationToCreate)
 def change_destination(self, destinationToChange):
     '''Sends the new info to update in the datalayer'''
     IO_DestinationsFromFile().changeDestinationToFile(destinationToChange)
 def get_dest_list(self):
     dest_list = IO_DestinationsFromFile().get_dest_from_file()
     return dest_list
Esempio n. 5
0
 def changeDestinationToFile(self, updatedDestination):
     return IO_DestinationsFromFile().changeDestinationToFile(
         updatedDestination)
Esempio n. 6
0
 def addDestinationToFile(self, destination):
     return IO_DestinationsFromFile().addDestinationToFile(destination)
Esempio n. 7
0
 def get_dest_from_file(self):
     return IO_DestinationsFromFile().get_dest_from_file()