public async Task <IActionResult> Hits(SearchTerm searchTerm) { if (!ModelState.IsValid) { var formViewModel = new HomeFormViewModel() { SearchEngines = _website.GetAllSearchEngines(), SearchTerm = searchTerm }; return(View("Index", formViewModel)); } _searchTermService.Add(searchTerm); var scrapes = await _scraperService.ScrapeMatches(searchTerm); return(View(scrapes));; }