Exemplo n.º 1
0
        public static async Task FetchCanyons(string url, string path)
        {
            if (File.Exists(path))
            {
                return;
            }

            var jsonCanyons = await GetCanyons(url);

            CanyonCsvLoader.WriteCanyonsToCsv(jsonCanyons, path);
        }