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