Exemple #1
0
 private void Delete(Playlist playlist)
 {
     _context.Set <Data.Playlist>().Remove(playlist.Model);
 }
Exemple #2
0
        public void Add(Playlist playlist)
        {
            var sequence = _sequenceProvider.Get(Items.Select(p => (ISequence)p).ToList());

            Add(_mediaItemMapper.GetNewMediaItem(sequence, playlist));
        }