public ActionResult Create(Dinner dinner) { if (ModelState.IsValid) { dinner.HostedById = this.nerdIdentity.Name; dinner.HostedBy = this.nerdIdentity.FriendlyName; dinner.RSVP(this.nerdIdentity.Name, this.nerdIdentity.FriendlyName); dinnerRepository.InsertOrUpdate(dinner); dinnerRepository.SubmitChanges(); return RedirectToAction("Details", new { id=dinner.DinnerID }); } return View(dinner); }