Exemplo n.º 1
0
        /// <summary>
        /// check, if publisher has references in the games
        /// </summary>
        /// <param name="item"></param>
        /// <returns></returns>
        private bool IsPubliserIncluded(BLLPublisher item)
        {
            GameRepositoryEF gameRep             = new GameRepositoryEF();
            bool             isPublisherIncluded = gameRep.IsPublisherIncluded(item.Id);

            return(isPublisherIncluded);
        }
Exemplo n.º 2
0
        /// <summary>
        /// check, if genre has references in the games
        /// </summary>
        /// <param name="item"></param>
        /// <returns></returns>
        private bool IsGenreIncluded(BLLGenre item)
        {
            GameRepositoryEF gameRep         = new GameRepositoryEF();
            bool             isGenreIncluded = gameRep.IsGenreIncluded(item.Id);

            return(isGenreIncluded);
        }