public ActionResult ConfirmEmail(string token, string email) { if (!provider.ConfirmEmail(id: Int32.Parse(token), email: email)) { return(RedirectToAction("Index", "Home", new { Email = email })); } else { return(RedirectToAction("Index", "Home", new { Email = "" })); } }