public void DeleteSongs(IEnumerable <Song> songs) { foreach (var song in songs) { EntityCollection.Delete(s => s == song); } _cache.Rebuild(EntityCollection.FindAll()); }
public IEnumerable <Song> DoQuery() { return(EntityCollection.FindAll()); }