public ImportExclusion AddExclusion(ImportExclusion exclusion)
 {
     if (_exclusionRepository.IsMovieExcluded(exclusion.TmdbId))
     {
         return(_exclusionRepository.GetByTmdbid(exclusion.TmdbId));
     }
     return(_exclusionRepository.Insert(exclusion));
 }
Example #2
0
 public bool IsMovieExcluded(int tmdbid)
 {
     return(_exclusionRepository.IsMovieExcluded(tmdbid));
 }