예제 #1
0
        public void add(int attr_rideID, string information)
        {
            Maintenence m = MaintenenceFactory.create(attr_rideID, information);

            AttractionRideController.getInstance().updtMaintenence(attr_rideID);
            MaintenenceRepository.add(m);
        }
예제 #2
0
 public Maintenence find(int id)
 {
     return(MaintenenceRepository.find(id));
 }
예제 #3
0
 public void remove(int id, int attr_ride)
 {
     MaintenenceRepository.remove(id);
     AttractionRideController.getInstance().updtMaintenence(attr_ride);
 }
예제 #4
0
 public void update(int id, string information)
 {
     MaintenenceRepository.update(id, information);
 }
예제 #5
0
 public List <Maintenence> getAll()
 {
     return(MaintenenceRepository.getAll());
 }