public HomeController(ICurrenciesListHelper currenciesListHelper, IDatesRangeHelper datesRangeHelper, IRateHelper rateHelper) { _currenciesListHelper = currenciesListHelper; _datesRangeHelper = datesRangeHelper; _rateHelper = rateHelper; }
public ShellViewModel(IDatesRangeHelper dateRangeHelper, ICurrenciesListHelper currenciesListHelper, IRateHelper rateHelper) { _datesRangeHelper = dateRangeHelper; _currenciesListHelper = currenciesListHelper; _rateHelper = rateHelper; Calculate = new CalculateCommand(Calculator); CallGetRateAsync = new GetRateCommand(GetRateAsync, GetRateAsyncCanExecute); }