public BookingController(IBookingProcessor bookingProcessor) { if (bookingProcessor == null) { throw new ArgumentNullException("bookingProcessor"); } this.bookingProcessor = bookingProcessor; }
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; }
public BookingDataAdapter(IHotelRepository hotelRepository, IBookingProcessor bookingProcessor) { _hotelRepository = hotelRepository; _bookingProcessor = bookingProcessor; }
public BookingController(IBookingProcessor bookingProcessor) { _bookingProcessor = bookingProcessor; }