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"); }
public async Task <IEnumerable <Url> > GetUrls() { IEnumerable <Url> urls = await LighthouseRepository.GetUrls(_config); return(urls); }