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); }
public BookingsController(IBookingsService bookingsService, IHotelRoomsService hotelRoomsService) { this.bookings = bookingsService; this.hotelRooms = hotelRoomsService; }
public AvailableController(IHotelsService hotelsService, IHotelRoomsService hotelRoomsService) { this.hotels = hotelsService; this.hotelRooms = hotelRoomsService; }
public HotelRoomsController(IHotelRoomsService service, IMapper mapper) : base(service, mapper) { }
public BookHotelController(IHotelRoomsService hotelRoomsService, IBookingsService bookingsService) { this.hotelRooms = hotelRoomsService; this.bookings = bookingsService; }
public RoomsController(IHotelRoomsService hotelRoomsService, IMapper mapper) { _hotelRoomsService = hotelRoomsService; _mapper = mapper; }
public HotelRoomsController(IHotelRoomsService service) { roomService = service; }