razor page redirect to page with parameters code example
Example 1: mvc redirect to action with parameters
return RedirectToAction("Action","controller", new {@id=id});
Example 2: mvc redirect to action with parameters
return RedirectToAction("Action", new { id = 99 });