Exemplo n.º 1
0
        public static void BeginScraping(IConfiguration configuration)
        {
            var fileOutput = new FileOutput(configuration);
            var currencies = GetCurrencies();

            foreach (var currency in currencies)
            {
                var records = ScrapeCurrencyData(currency);

                fileOutput.CreateRecordFile(records);
            }
        }