local redirect to page with parameters asp net core code example
Example: asp.net core redirecttoaction with parameters
RedirectToAction("Action", "Controller" ,new { id });
RedirectToAction("Action", "Controller" ,new { id });