예제 #1
0
        public ActionResult MyEvents()
        {
            Models.User u = new Models.User();
            u = u.GetUserSession();

            if (u.IsAuthenticated)
            {
                u.Events = u.GetEvents();
            }

            return(View(u));
        }