コード例 #1
0
        public ActionResult Index()
        {
            UserPageViewModel model = new UserPageViewModel();

            model.VisitedBoards = AccountQueries.GetLastVisitedBoards(User.Identity.Name);
            model.MyBoards      = AccountQueries.GetMyBoards(User.Identity.Name);
            return(View(model));
        }