public MainVm(IApplicationSettings applicationSettings, IWeatherForecastDataProvider weatherForecastDataProvider) { _applicationSettings = applicationSettings; _weatherForecastDataProvider = weatherForecastDataProvider; OpenSettingsCommand = new RelayCommand(OpenSettings); RefreshCommand = new RelayCommand(Refresh); }
public WeatherForecastController(IWeatherForecastDataProvider svc, ILogger <WeatherForecastController> logger) { _logger = logger; _weatherSvc = svc; }