Exemplo n.º 1
0
 public ActionResult LeftBlock(int index = 0)
 {
     ViewBag.menuIndex  = index;
     ViewBag.attends    = relationshipService.GetAttentionCount(CurrentUser.UserId);
     ViewBag.fans       = relationshipService.GetFansCount(CurrentUser.UserId);
     ViewBag.integral   = _integrationManager.GetUserTotalIntegral(CurrentUser.UserId);
     ViewBag.learnScore = _userLevelService.GetUserLearnScore(CurrentUser.UserId);
     return(View());
 }
Exemplo n.º 2
0
 public ActionResult UserLeftBox()
 {
     ViewBag.learnScore = _userLevelService.GetUserLearnScore(CurrentUser.UserId);
     ViewBag.integral   = _integrationManager.GetUserTotalIntegral(CurrentUser.UserId);
     return(View());
 }