public IEnumerable <PlayListResponse> Listar(Guid idUsuario) { IEnumerable <PlayList> playListCollection = _repositoryPlayList.Listar(idUsuario); var response = playListCollection.ToList().Select(entidate => (PlayListResponse)entidate); return(response); }
public IEnumerable <PlayListResponse> Listar(Guid idUsuario) { IEnumerable <PlayList> playListsCollection = _repositoryPlayList.Listar(idUsuario); // conversar explicita var response = playListsCollection.ToList().Select(x => (PlayListResponse)x); return(response); }
public IEnumerable <PlayListResponse> Listar(Guid idUsuario) { return(_repositorioPlayList.Listar(idUsuario).ToList().Select(x => (PlayListResponse)x)); }