actionresult redirect to external url 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");
}