Beispiel #1
0
 public BookingController(IBookingProcessor bookingProcessor)
 {
     if (bookingProcessor == null)
     {
         throw new ArgumentNullException("bookingProcessor");
     }
     this.bookingProcessor = bookingProcessor;
 }
Beispiel #2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            processor = new BookingProcessor(new CollectionDataLayer());

            FillCustomers();
            FillAvailableVehicles();
            FillBookedVehicles();
            FillBookedVehicles();
            FillVehicleTypes();
        }
 public MotelDataAdapter(IBookingProcessor processor, IMotelRoomsRepository repo)
 {
     _processor = processor;
     _repo      = repo;
 }
 public TimeBookingProcessor(IBookingProcessor bookingProcessor)
 {
     this.bookingProcessor = bookingProcessor;
 }
 public TimeBookingProcessor(IBookingProcessor bookingProcessor)
 {
     _bookingProcessor = bookingProcessor;
 }
Beispiel #6
0
 public BookingDataAdapter(IHotelRepository hotelRepository, IBookingProcessor bookingProcessor)
 {
     _hotelRepository  = hotelRepository;
     _bookingProcessor = bookingProcessor;
 }
 public BookingController(IBookingProcessor bookingProcessor)
 {
     _bookingProcessor = bookingProcessor;
 }