public async Task GetByUser_ReturnsPicks()
        {
            InitializeDb();

            var user = await _userRepository.CreateAsync();

            await CreateGamesAsync(2, 5);

            foreach (var game in _games)
            {
                await CreateGamePick(game, user);
            }

            Assert.Equal(10, _gamePickService.GetByUser(user.Id).Count());
            Assert.Empty(await _gamePickService.GetByUserAndWeekAsync(user.Id + 1, 3));
        }
 public IEnumerable <GamePick> GetByUser(long userId)
 {
     return(_gamePickService.GetByUser(userId));
 }