public IActionResult Index(PageData pageData) { if (ModelState.IsValid) { var html = WebCrawlerHelper.GetHtml(pageData.WebUrl); pageData.FetchData(html); return(View(pageData)); } return(View(pageData)); }