public void add(int attr_rideID, string information) { Maintenence m = MaintenenceFactory.create(attr_rideID, information); AttractionRideController.getInstance().updtMaintenence(attr_rideID); MaintenenceRepository.add(m); }
public Maintenence find(int id) { return(MaintenenceRepository.find(id)); }
public void remove(int id, int attr_ride) { MaintenenceRepository.remove(id); AttractionRideController.getInstance().updtMaintenence(attr_ride); }
public void update(int id, string information) { MaintenenceRepository.update(id, information); }
public List <Maintenence> getAll() { return(MaintenenceRepository.getAll()); }