Esempio n. 1
0
 public ActionResult RegistrationForm(RsvpResponse model)
 {
     if (ModelState.IsValid)
     {
         return View("Thanks", model);
     }
     else
     {
         return View(model);
     }
 }
Esempio n. 2
0
 public ActionResult RegistrationForm2()
 {
     var model = new RsvpResponse();
     return View(model);
 }