public TransactionBehaviour(DeliveryContext dbContext, IDeliveryIntegrationEventService deliveryIntegrationEventService, ILogger <TransactionBehaviour <TRequest, TResponse> > logger) { _dbContext = dbContext ?? throw new ArgumentException(nameof(DeliveryContext)); _deliveryIntegrationEventService = deliveryIntegrationEventService ?? throw new ArgumentException(nameof(deliveryIntegrationEventService)); _logger = logger ?? throw new ArgumentException(nameof(ILogger)); }
public DeliveryCreatedDomainEventHandler(IDeliveryIntegrationEventService deliveryIntegrationEventService) { _deliveryIntegrationEventService = deliveryIntegrationEventService; }