public async Task <IActionResult> TaskInfo(int id) { string user = User.FindFirst("Index").Value; var Currentuser = await _taskRepository.GetCurrentUser(user); ViewBag.photo = Currentuser.PhotoURL; ViewBag.Id = id; var data = await _taskRepository.TaskListInfo(id); return(View(data)); }