public ActionResult RsvpForm(GuestResponse guestResponse) { if (ModelState.IsValid) { using (ResponseContext db = new ResponseContext()) { db.Responses.Add(guestResponse); db.SaveChanges(); } return(View("Thanks", guestResponse)); } else { return(View()); } }