Example #1
0
 private void DoWork(object state)
 {
     _currentWeatherService.MonitorCurrentWeather();
     _logger.LogInformation("Timed Background Service is working.");
 }