Esempio n. 1
0
 internal void DeleteAllUnverifiedLinksForAnime(int animeID)
 {
     using (RepoLock.WriterLock())
     {
         FindAndDelete(() => GetByAnimeID(animeID).Where(a => a.MatchRating != MatchRating.UserVerified)
                       .ToList());
     }
 }
Esempio n. 2
0
 internal void DeleteAllUnverifiedLinks()
 {
     using (RepoLock.WriterLock())
         FindAndDelete(() => Where(s => s.MatchRating == MatchRating.UserVerified).ToList());
 }