public ActionResult Finished() { var site = new SCBWIContext(); var user = DAL.GetUserByAccount(User.Identity.Name); var r = site.Registrations.Find(user.RegistrationID); var email = new EmailModel(user, r); new MailController().ResentEmail(email).Deliver(); return(View()); }