/// <summary> /// Construtor serviço nota fiscal /// </summary> /// <param name="notaFiscalBusiness">Objeto de negócio</param> /// <param name="impostoUtil">Objeto utilitário</param> /// <param name="notaFiscalRepository">Repositório de dados</param> public NotaFiscalService(NotaFiscalBusiness notaFiscalBusiness, ImpostoUtil impostoUtil, NotaFiscalRepository notaFiscalRepository) { this.notaFiscalBusiness = notaFiscalBusiness; this.impostoUtil = impostoUtil; this.notaFiscalRepository = notaFiscalRepository; }
public RabbitMQToElasticService( ILogger <RabbitMQToElasticService> logger, RabbitMqOptions rabbitOptions, IMapper mapper, INotaFiscalBusiness notaFiscalBusiness) { _logger = logger; _rabbitOptions = rabbitOptions; _mapper = mapper; _notaFiscalBusiness = notaFiscalBusiness; InitRabbitMQ(); }