예제 #1
0
 public ViewResult RvspForm(GuestResponse guestResponse)
 {
     if (ModelState.IsValid)
     {
         // TODO: Email response to the party organizer
         return View("Thanks", guestResponse);
     }
     else
     {
         // there is a validation error
         return View();
     }
     
 }
예제 #2
0
 public ActionResult RsvpForm(GuestResponse guestResponse)
 {
     return View("Thanks", guestResponse);
 }
예제 #3
0
 public ViewResult RsvpForm(GuestResponse guestResponse)
 {
     return View(guestResponse);
 }