public IActionResult IndexPost() { string url = Request.Form["txtUrl"]; var shortUrl = _urlService.GenerateUrl(url); return(View("Index", shortUrl)); }