Пример #1
0
 public WeatherForecastController(WeatherContext context, Services.ITemperatureAppreciation temperatureAppreciation)
 {
     _context = context;
     _temperatureAppreciation = temperatureAppreciation;
 }
Пример #2
0
 public WeatherForecastController(WeatherContext context, Services.ITemperatureAppreciation temperatureAppreciation, ILogger <WeatherForecastController> logger)
 {
     _context = context;
     _temperatureAppreciation = temperatureAppreciation;
     Logger = logger;
 }