Example #1
0
 public FindDeviceQueryHandler(IDeviceRespository context)
 {
     _deviceContext = context;
 }
 public RegisterDeviceCommandHandler(IEventBus eventBus, IDeviceRespository context)
 {
     _deviceContext = context;
     _eventBus      = eventBus ?? throw new ArgumentNullException(nameof(eventBus));
     // _bookingIntegrationEventService = bookingIntegrationEventService ?? throw new ArgumentNullException(nameof(bookingIntegrationEventService));
 }