public async Task <IActionResult> TaskDetails(int id = 0, int pageNumber = 1)
        {
            ViewBag.TodayAllocated = await _repo4.TaskToday();

            ViewBag.TodayStarted = await _repo4.TaskToday2();

            ViewBag.TodayFinalized = await _repo4.TaskToday3();

            ViewData["count"] = await _repo2.TaskOverview();

            ViewData["projects"] = await _repo.GetProjects();

            int pageSize = 10;


            var data1 = _repo2.GetTasks2Async(id);

            ViewData["tasks"] = await PaginatedList <Tasks> .CreateAsync(data1, pageNumber, pageSize);


            return(View());
        }