Пример #1
0
 public DataController(TemperatureService temperatureService)
 {
     _temperatureService = temperatureService;
 }
Пример #2
0
 public TemperatureServiceWorker(ILogger <TemperatureServiceWorker> logger, TemperatureService temperatureService)
 {
     _logger             = logger;
     _temperatureService = temperatureService;
 }