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