Beispiel #1
0
        public async Task Execute(IJobExecutionContext context)
        {
            List <Rates> echangeRates = await ParserService.GetExchangeRates();

            RatesDataHelper.AddRatesRange(echangeRates);

            Console.WriteLine("Exchange rates saved. Time: {0}", DateTime.Now.ToString("HH:mm:ss"));
        }