Пример #1
0
        public async Task <IActionResult> WeatherUnderground(ScrapersModels.ScraperConfiguration configurationModel)
        {
            if (ModelState.IsValid)
            {
                await _weatherUndergroundScraperService.StartScrapingAsync(configurationModel);
            }

            return(View());
        }
Пример #2
0
        public async Task <IActionResult> Luftdaten(ScrapersModels.ScraperConfiguration configurationModel)
        {
            if (ModelState.IsValid)
            {
                await _luftdatenScraperService.StartScrapingAsync(configurationModel);
            }

            return(View());
        }