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