.net mvc handle redirect from external website 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");
}