public HomeController(ILogger <HomeController> logger, IConfiguration configuration) { _logger = logger; SignalsRepository = new SignalsRepository(configuration); _config = configuration; }
public MQTTClient(IConfiguration configuration) { SignalsRepository = new SignalsRepository(configuration); }