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
def changeDestinationToFile(self, updatedDestination): return IO_DestinationsFromFile().changeDestinationToFile( updatedDestination)
def addDestinationToFile(self, destination): return IO_DestinationsFromFile().addDestinationToFile(destination)
def get_dest_from_file(self): return IO_DestinationsFromFile().get_dest_from_file()