public IActionResult Index() { var homeVM = new HomeViewModel() { BandCount = _bandRepository.Count(x => true), CustomerCount = _customerRepository.Count(x => true), AlbumCount = _albumRepository.Count(x => true), LendAlbumCount = _albumRepository.Count(x => x.Borrower != null) }; return(View(homeVM)); }