Exemplo n.º 1
0
 public AddHotelCommandHandler(
     IHotelFactory hotelFactory,
     IHotelQueryRepository bookingRepository,
     IUserContext userContext,
     IHostDomainRepository hostRepository)
 {
     this._hotelFactory      = hotelFactory;
     this._bookingRepository = bookingRepository;
     this._userContext       = userContext;
     this._hostRepository    = hostRepository;
 }
Exemplo n.º 2
0
 public AddRoomCommandHandler(IHostDomainRepository hostRepository, IUserContext userContext)
 {
     this._hostRepository = hostRepository;
     this._userContext    = userContext;
 }