示例#1
0
        public Tuple <Playlist, List <Track> > GetCriteriaPlaylist(int id)
        {
            var playlist           = _playlistRepository.GetCriteriaPlaylist(id);
            var trackSearchService = GetTrackSearchService();
            var tracks             = trackSearchService.GetTracks(playlist);

            return(new Tuple <Playlist, List <Track> >(playlist, tracks));
        }
示例#2
0
 public CriteriaPlaylist GetCriteriaPlaylist(int id)
 {
     return(_repository.GetCriteriaPlaylist(id));
 }