public RatesViewModel() : base() { _ratesService = App.Container.GetInstance <IRatesService>(); _ratesService.Updated += OnRatesloaded; _ratesService.Failed += OnLoadFailed; OnStarted(Resources.AppResources.RatesProgressMessage); _ratesService.UpdateAsync(_options.DefaultCurrency.ToString()); }
private void UpdateRate() { OnStarted(Resources.AppResources.RatesProgressMessage); _ratesService.UpdateAsync(_options.DefaultCurrency.ToString()); }