public ActionResult EventDetails(EventModel model) { if (ModelState.IsValid) { int eventId = model.AddEvent(model.EventDescription, model.StartDate, model.EndDate, model.City, model.State, User.Identity.Name); return RedirectToAction("Calendar"); } else { return View(); } }