public RemoteRateViewModel(string baseKey, string targetKey, float value, IExternalCurrencyService currencyService, ISettingsProvider settingsProvider, ILocalCurrencyService localCurrencyService, IErrorHandler errorHandler)
 {
     TargetKey             = targetKey;
     _value                = value;
     _currencyService      = currencyService;
     _settingsProvider     = settingsProvider;
     _localCurrencyService = localCurrencyService;
     BaseKey               = baseKey;
     Title = $"1 {baseKey} = x {targetKey}";
     SetAsBaseCurrencyCommand = new AsyncCommand(SetAsBaseCurrency, errorHandler: errorHandler);
     SaveDataCommand          = new AsyncCommand(SaveData, errorHandler: errorHandler);
     CurrencyGridViewModel    = new CurrencyDataGridViewModel();
 }
 public LocalRateViewModel(HistoryRatesDataObject dataObj)
 {
     CurrencyGridViewModel = new CurrencyDataGridViewModel();
     _dataObj = dataObj;
     Title    = $"1 {_dataObj.Base} = x {_dataObj.Target}   - dane lokalne";
 }