Esempio n. 1
0
 public void CheckReservation()
 {
     ReservationDataSource dataSource = new ReservationDataSource();
     if (dataSource.GetReservationByTravelID(ID) != null)
     {
         throw new TravelHelperException(Error.TRAVEL_IS_ASSIGNED_TO_RESERVATION);
     }
 }