Exemple #1
0
 public async Task <bool> DeletePlaylist(int id)
 {
     if (await _repository.DeletePlaylist(id))
     {
         return(true);
     }
     throw new NotImplementedException();
 }
Exemple #2
0
 public async Task DeletePlayList(int userId, string name)
 {
     await _playlistRepository.DeletePlaylist(name, userId);
 }
Exemple #3
0
        public async Task DeletePlaylist(int playlistId)
        {
            await playlistRepository.DeletePlaylist(playlistId);

            await playlistRepository.SaveChangesAsync();
        }
 public Playlist DeletePlaylist(long playlistId)
 {
     return(repo.DeletePlaylist(playlistId));
 }