public async Task <ActionResult> SourceUrl(string id) { var webPageText = await WebManager.HtmlToTextAsync(@HttpUtility.UrlDecode(id)); HashSet <int> docIndexes = Session[@HttpUtility.UrlDecode(id)] as HashSet <int>; TextManager.PrepareText(webPageText, out string[] urlInitialWords, out _, out int[] urlInitialDocIndexes, out string[] urlSimplifiedWords, out int urlWordCount); ViewBag.Text = TextManager.ComposeHtmlText(urlInitialWords, docIndexes); ViewBag.Message = "Результат для веб-пошуку с сторінки" + id; ViewBag.Id = id; return(View()); }