public IActionResult Search(string url, string depth) { var model = new SearchModel(); model.GetLinks(url, int.Parse(depth)); searchModel = model; return(View(model)); }