/// <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); }
/// <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); }