public ActionResult Index(User user) { registrationService.Register(user); return RedirectToAction("ThankYou"); }
public void Send(User form) { }
public void Register(User form) { userRepository.Create(form); emailSender.Send(form); }
public void Create(User form) { session["User"] = form; }