public async Task <IActionResult> Index() { TempData["Active"] = TempDataInfo.Home; var user = await GetLoggedUser(); ViewBag.ReportCount = _reportService.GetUserReportCount(user.Id); ViewBag.WorkCount = _workService.GetCompletedWorkCountWithUserId(user.Id); ViewBag.UnWorkCount = _workService.GetUnCompletedWorkCountWithUserId(user.Id); ViewBag.NotificationCount = _notificationService.UnDisplayedNotificationCount(user.Id); return(View()); }