Example #1
0
 public DataController(TemperatureService temperatureService)
 {
     _temperatureService = temperatureService;
 }
Example #2
0
 public TemperatureServiceWorker(ILogger <TemperatureServiceWorker> logger, TemperatureService temperatureService)
 {
     _logger             = logger;
     _temperatureService = temperatureService;
 }