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

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