public async Task <IActionResult> Index() { var user = await GetLoggedInUser(); ViewBag.ActionCount = _actionService.GetActionCountByUserId(user.Id); ViewBag.FinishedWorkCount = _workService.GetFinishedWorkCountByUserId(user.Id); ViewBag.UnFinishedWorkCount = _workService.GetUnFinishedWorkCountByUserId(user.Id); ViewBag.UnReadNotificationCount = _notificationService.GetUnReadCountByUserId(user.Id); TempData["Active"] = TempDataInfo.Home; return(View()); }