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