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