public ActionResult Create(Event e) { try { e.Email = User.Identity.GetUserName(); serviceBusiness.AddEvent(e); return(RedirectToAction("Index")); } catch { return(View()); } }
public ActionResult Create(Event e) { try { e.Email = User.Identity.GetUserName(); serviceBusiness.AddEvent(e); return(RedirectToAction("Index")); } catch { return(View()); } }