Exemple #1
0
 public ActionResult UserHome()
 {
     ViewBag.UserId      = Session["UserId"].ToString();
     ViewBag.UserEvents  = EventControl.GetUserEvents(Session["UserId"].ToString());
     ViewBag.UserRecords = EventControl.GetUserRecords(ViewBag.UserId);
     return(View());
 }