ASP .NET MVC3 - How to share data between actions in single Controller
So I have this:

        public ActionResult ViewForum(int ForumID)
        {
            _frmSrv = new ForumService();
            _roleSrv = new RoleService();
            //_userAccess = new UserAccess();
            var modelView = _frmSrv.GetForumIndexView(ForumID);
            TempData[CurrentUser.Name] = _roleSrv.GetUserAccessForForum(CurrentUser, ForumID);
            modelView.UserAccess = TempData[CurrentUser.Name] as UserAccess;
            return View(modelView);
        }

and this:

        public ActionResult ViewThread(int ThreadID)
        {
            _postSrv = new PostService();
            var modelView = _postSrv.GetThreadIndexView(ThreadID);
            modelView.UserAccess = TempData[CurrentUser.Name] as UserAccess;
            return View(modelView);
        }

You probaly already guess I want to pass UserAccess from one action to another.
Is there a way to do it ? 
ASP .NET MVC3 - How to share data between actions in single Controller
===

So I have this:

        public ActionResult ViewForum(int ForumID)
        {
            _frmSrv = new ForumService();
            _roleSrv = new RoleService();
            //_userAccess = new UserAccess();
            var modelView = _frmSrv.GetForumIndexView(ForumID);
            TempData[CurrentUser.Name] = _roleSrv.GetUserAccessForForum(CurrentUser, ForumID);
            modelView.UserAccess = TempData[CurrentUser.Name] as UserAccess;
            return View(modelView);
        }

and this:

        public ActionResult ViewThread(int ThreadID)
        {
            _postSrv = new PostService();
            var modelView = _postSrv.GetThreadIndexView(ThreadID);
            modelView.UserAccess = TempData[CurrentUser.Name] as UserAccess;
            return View(modelView);
        }

You probaly already guess I want to pass UserAccess from one action to another.
Is there a way to do it ? 