private IPicture[] GetMediaPictureTag() { var pictures = new IPicture[4] { GetAlbumCoverToPicture(Track.ArtExtraLarge), GetAlbumCoverToPicture(Track.ArtLarge), GetAlbumCoverToPicture(Track.ArtMedium), GetAlbumCoverToPicture(Track.ArtSmall) }.Where(x => x != null).ToList(); return(pictures.Any() ? new[] { pictures.First() } : null); }
private bool PictureExists(int id) { return(_IPicture.Any(id).Result); }