public SendCodeHandler(AppDbContext identityDbContext, IOptions <ApplicationOptions> options, UtilsService utils, IMessageProducerService messageProducer) { _identityDbContext = identityDbContext; _utils = utils; _messageProducer = messageProducer; _options = options?.Value ?? throw new NullReferenceException(nameof(ApplicationOptions)); }
public BookUpsertSubscriberService(IConnection connection, IBookRepository bookRepository, IFileService fileService, IPdfParser pdfParser, IMessageProducerService messageProducerService) : base(connection) { _bookRepository = bookRepository; _fileService = fileService; _pdfParser = pdfParser; _messageProducerService = messageProducerService; }
public Worker(IMessageConsumerService consumerService, IMessageProducerService producerService) { _consumerService = consumerService; _producerService = producerService; }
public UpsertCommandHandler(IMapper mapper, IMessageProducerService bookUpsertProducerService) { _mapper = mapper; _bookUpsertProducerService = bookUpsertProducerService; }