public ActionResult SendValidation(int id = 0) { try { Customer cust = new Customer { ID = id }; cust.Get(); cust.SendValidation(); TempData["error"] = "An e-mail has been sent to you with a validation link."; } catch (Exception) { TempData["error"] = "We're sorry, but we failed to send your validation e-mail."; } return RedirectToAction("Index"); }