示例#1
0
        /*
         * toplam yazılmış rapor
         */

        public async Task <IActionResult> Index()
        {
            TempData["Active"] = TempDataInfo.Home;

            var user = await GetLoggedUser();

            ViewBag.WorkCount           = _workService.GetWaitedWorkCount();
            ViewBag.NotificationCount   = _notificationService.UnDisplayedNotificationCount(user.Id);
            ViewBag.CompletedWorkCount  = _workService.GetAllCompletedWorkCount();
            ViewBag.ReportCount         = _reportService.GetAllUserReportCount();
            ViewBag.UnAssignedWorkCount = _workService.GetUnAssignedWorkCount();


            return(View());
        }