public async Task <IActionResult> DonationList() { //helpList - help for donationList & institutionList for getting their names, without this we have an empty lists var helpList = await _donationService.DonationCategory(); var helpList2 = await _institutionService.GetAllAsync(); var donationList = await _donationService.GetAllAsync(); var currentUser = await _userManager.GetUserAsync(User); var specificUserDonation = donationList.OrderBy(d => d.PickUpDate) .Where(x => x.User == currentUser).ToList(); //donationId 9 10 11 - DONATION LIST ID //ViewBag with CategoriesName var categoryName = await _categoryService.GetAllAsync(); ViewBag.CategoryName = categoryName.ToList(); return(View(specificUserDonation)); }