Esempio n. 1
0
        private IDictionary <CurrencyCodeEntry, CurrencyDataEntry> RequestSingleData(DateTime time)
        {
            // TODO: FIX. Do we need this method?
            IDictionary <CurrencyCodeEntry, CurrencyDataEntry> result = null;

            try
            {
                result = _currencyProvider.RequestSingleCurrencyData(time);
            }
            catch (NoItemsException e)
            {
                Debug.WriteLine($"Time: {time.ToString()}, Message: {e.Message}");
            }

            return(result);
        }