public Task <IEnumerable <string> > LoadImagesLinks(string searchTerm) { if (string.IsNullOrWhiteSpace(searchTerm)) { throw new ArgumentException(nameof(searchTerm)); } return(LoadImagesLinks()); async Task <IEnumerable <string> > LoadImagesLinks() { string searchResults = await searchEngine.FindResults(searchTerm); return(await imagesLinksExtractor.ExtractLinks(searchResults)); } }