public bool DeletePlayList(int id) { var result = _musicRepository.DeletePlayList(id); if (!result) { _logger.LogError("Playlist with ID {0} failed to be deleted in DB", id); } return(result); }