Ejemplo n.º 1
0
 public ActivateSubscriptionConsumer(
     IBusControl busControl,
     ISubscriptonsRepository subscriptonsRepository,
     ILogger <ActivateSubscriptionConsumer> logger)
 {
     _busControl             = busControl;
     _subsriptionsRepository = subscriptonsRepository;
     _logger = logger;
 }
Ejemplo n.º 2
0
 public DomainEventConsumer(
     ISubscriptonsRepository subscriptonsRepository,
     IHttpClientFactory httpClientFactory,
     ILogger <DomainEventConsumer <T> > logger)
 {
     _subscriptionsRepository = subscriptonsRepository;
     _httpClientFactory       = httpClientFactory;
     _logger = logger;
 }
 public SubscriptionsService(
     ISubscriptonsRepository subscriptonsRepository,
     IUnitOfWork unitOfWork,
     IMapper mapper,
     IBus bus)
 {
     _subscriptionsRepositry = subscriptonsRepository;
     _unitOfWork             = unitOfWork;
     _mapper = mapper;
     _bus    = bus;
 }