return redirect page c# code example
Example: how to redirect to extern page in .net core
public ActionResult YourAction()
{
// ...
return Redirect("http://www.example.com");
}
public ActionResult YourAction()
{
// ...
return Redirect("http://www.example.com");
}