public async Task <Club> GetClubAsync(int clubId) { Club club = _clubs.Values.FirstOrDefault(g => g.ClubId == clubId); if (club == null) { club = await _clubRepository.GetClubAsync(clubId); if (club != null) { _clubs.Add(DateTime.Now, club); } } return(club); }