redirect to url in mvc 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");
}