Esempio n. 1
0
 public ActionResult Create(Event eventItem, string[] fieldName, string[] fieldText)
 {
     eventItem.CreatorId = Session["UserId"].ToString();
     EventControl.CreateNewEvent(eventItem, fieldName, fieldText);
     return(RedirectToActionPermanent("UserHome", "User"));
 }