public ValuesController(IApi2Repository repository) { _repository = repository; }
public CreatedTripIntegrationEventHandler(IApi2Repository repository, IEventBus eventBus) { _repository = repository; _eventBus = eventBus ?? throw new ArgumentNullException(nameof(eventBus)); }