Esempio n. 1
0
 public ActionResult RegistrationSubmit(RegistrationForm form)
 {
     if (ModelState.IsValid)
     {
         Get<IRegistrationService>().SaveBid(form.Candidate);
         return RedirectTo<HomeController>(a => a.Index());
     }
     return RedirectTo<RegistrationController>(a => a.Registration(form));
 }
Esempio n. 2
0
 public ActionResult Registration(RegistrationForm form)
 {
     return View(form);
 }