public ViewResult RsvpForm(GuestResponse guestResponse) { if (ModelState.IsValid) { Repository.AddRepository(guestResponse); //to do return(View("Thanks", guestResponse)); } else { return(View()); } }