public AddCommentRequestHandler(IAggregateStore store, IRoomServiceRepository roomServiceRepository,
                                 IEmployeeRepository employeeRepository)
 {
     this.store             = store;
     _roomServiceRepository = roomServiceRepository;
     _employeeRepository    = employeeRepository;
 }
 public RoomServiceCreatedEventHandler(IHubContext <RoomServiceHub> hubContext, IRoomRepository roomRepository, IEmployeeRepository employeeRepository, IRoomServiceRepository roomServiceRepository)
 {
     _hubContext            = hubContext;
     _roomRepository        = roomRepository;
     _employeeRepository    = employeeRepository;
     _roomServiceRepository = roomServiceRepository;
 }
Beispiel #3
0
 public RoomServiceController(
     IRoomServiceRepository RoomServiceRepository,
     IMapper mapper
     )
 {
     this.RoomServiceRepository = RoomServiceRepository;
     this.mapper = mapper;
 }
Beispiel #4
0
 public PlanRoomServiceRequestHandler(
     IRoomServiceRepository roomServiceRepository,
     IMediator mediator,
     IAggregateStore store)
 {
     _roomServiceRepository = roomServiceRepository;
     _mediator = mediator;
     _store    = store;
 }
 public CreateRoomServiceCommandHandler(
     IMediator mediator,
     IRoomRepository roomRepository,
     IRoomServiceRepository roomServiceRepository,
     IEmployeeRepository employeeRepository,
     IAggregateStore eventStore)
 {
     _roomRepository        = roomRepository;
     _roomServiceRepository = roomServiceRepository;
     _employeeRepository    = employeeRepository;
     _mediator       = mediator;
     this.eventStore = eventStore;
 }
 public GetRoomServicesByRoomIdQueryHandler(IRoomServiceRepository roomServiceRepository, IRoomRepository roomRepository)
 {
     _roomServiceRepository = roomServiceRepository;
     _roomRepository        = roomRepository;
 }
 public StartRoomServiceRequestHandler(IRoomServiceRepository context, IAggregateStore store)
 {
     _roomServiceRepository = context;
     _store = store;
 }
 public GetRoomServiceByIdQueryHandler(IRoomServiceRepository roomServiceRepository, IRoomRepository roomRepository, IEmployeeRepository employeeRepository)
 {
     _roomServiceRepository = roomServiceRepository;
     _roomRepository        = roomRepository;
     _employeeRepository    = employeeRepository;
 }
Beispiel #9
0
 public RoomServicesController(IRoomServiceRepository repo, IMapper mapper, DataContext context)
 {
     _mapper  = mapper;
     _repo    = repo;
     _context = context;
 }