Пример #1
0
 public DetailsController(
     IHotelsService hotelsService,
     IHotelRoomsService hotelRoomsService)
 {
     this.hotels     = hotelsService;
     this.hotelRooms = hotelRoomsService;
 }
 public DetailsController(
     IHotelsService hotelsService,
     IHotelRoomsService hotelRoomsService)
 {
     this.hotels = hotelsService;
     this.hotelRooms = hotelRoomsService;
 }
        public HotelRoomsPageViewModel(IHotelRoomsService hotelRoomsService, IDialogHost dialogHost)
        {
            _hotelRoomsService = hotelRoomsService;
            _dialogHost        = dialogHost;

            HotelRooms = new ObservableCollection <HotelRoom>(_hotelRoomsService.Get());

            HotelRoomsViews = (CollectionView)CollectionViewSource.GetDefaultView(HotelRooms);
        }
Пример #4
0
 public BookingsController(IBookingsService bookingsService, IHotelRoomsService hotelRoomsService)
 {
     this.bookings   = bookingsService;
     this.hotelRooms = hotelRoomsService;
 }
 public AvailableController(IHotelsService hotelsService, IHotelRoomsService hotelRoomsService)
 {
     this.hotels = hotelsService;
     this.hotelRooms = hotelRoomsService;
 }
Пример #6
0
 public HotelRoomsController(IHotelRoomsService service, IMapper mapper)
     : base(service, mapper)
 {
 }
 public BookHotelController(IHotelRoomsService hotelRoomsService, IBookingsService bookingsService)
 {
     this.hotelRooms = hotelRoomsService;
     this.bookings = bookingsService;
 }
Пример #8
0
 public RoomsController(IHotelRoomsService hotelRoomsService, IMapper mapper)
 {
     _hotelRoomsService = hotelRoomsService;
     _mapper            = mapper;
 }
Пример #9
0
 public AvailableController(IHotelsService hotelsService, IHotelRoomsService hotelRoomsService)
 {
     this.hotels     = hotelsService;
     this.hotelRooms = hotelRoomsService;
 }
Пример #10
0
 public HotelRoomsController(IHotelRoomsService service)
 {
     roomService = service;
 }