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

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