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