public EventPublisher(IConfiguration configuration , IBackgroundTaskLocalIntegrationEventService backgroundTaskLocalIntegrationEventService , INServiceBusEndpoint nServiceBusEndpoint) { _taskConfig = configuration.GetSection("Task_EventPublisher").Get <BackgroundServiceConfiguration>(); _backgroundTaskLocalIntegrationEventService = backgroundTaskLocalIntegrationEventService; _endpoint = nServiceBusEndpoint; }
public ChangeStatusOrderAlterationCommandHandler(IOrderAlterationRepository orderAlterationRepository, INServiceBusEndpoint endpoint, ILocalIntegrationEventRepository localIntegrationEventRepository) { _orderAlterationRepository = orderAlterationRepository; _localIntegrationEventRepository = localIntegrationEventRepository; _endpoint = endpoint; }