예제 #1
0
        public async Task <string> SetLighthouseReports()
        {
            IEnumerable <Url> urls = await LighthouseRepository.GetUrls(_config);

            foreach (Url url in urls)
            {
                await _LighthouseBLL.runLightHouseAndSetReport(url);
            }
            return("Lighthouse has been run for the Urls retrieved from the database");
        }
예제 #2
0
        public async Task <IEnumerable <Url> > GetUrls()
        {
            IEnumerable <Url> urls = await LighthouseRepository.GetUrls(_config);

            return(urls);
        }