Exemplo n.º 1
0
        public IEnumerable <Game> FindComingSoonGames(int?MemberId)
        {
            GameDao gameDao = new GameDao(db);

            if (MemberId > 0)
            {
                var comingSoonGames = gameDao.findComingSoonGames(MemberId);
                return(comingSoonGames);
            }
            var comingSoonAllGames = gameDao.findComingSoonGames();

            return(comingSoonAllGames);
        }