Пример #1
0
 public WeatherForecastController(
     IWeatherForecastGetter weatherForecastGetter,
     IWeatherForecastPost weatherForecastPost
     )
 {
     _weatherForecastGetter = weatherForecastGetter;
     _weatherForecastPost   = weatherForecastPost;
 }
Пример #2
0
 public WeatherForecastsViewModel(IWeatherForecastGetter weatherForecastGetter)
 {
     _weatherForecastGetter = weatherForecastGetter;
 }