public AddHotelCommandHandler( IHotelFactory hotelFactory, IHotelQueryRepository bookingRepository, IUserContext userContext, IHostDomainRepository hostRepository) { this._hotelFactory = hotelFactory; this._bookingRepository = bookingRepository; this._userContext = userContext; this._hostRepository = hostRepository; }
public GetAvailableHotelsQueryHandler(IHotelQueryRepository bookingRepository) { this._bookingRepository = bookingRepository; }
public GetHostHotelsQueryHandler(IHotelQueryRepository hotelRepository, IUserContext userContext) { this._hotelRepository = hotelRepository; this._userContext = userContext; }