public IEnumerable <PlayListResponse> List(Guid idUser) { IEnumerable <PlayList> playListCollection = _repositoryPlayList.List(idUser); var response = playListCollection.ToList().Select(entidade => (PlayListResponse)entidade); return(response); }
public IEnumerable <PlayListResponse> List(Guid userId) { var playListCollection = _repositoryPlayList.List(userId); var response = playListCollection.ToList().Select(x => (PlayListResponse)x); return(response); }