private ActionResult RedirectToLocal(string returnUrl) { if (Url.IsLocalUrl(returnUrl)) { return this.Redirect(returnUrl); } else { return this.RedirectToAction("Index", "Home"); } }