示例#1
0
        public IActionResult Test()
        {
            var result = _playlistRepository.GetAllTracks();

            return(Ok(result));
        }
        public void GetAllTracksShouldReturnAnyTrack()
        {
            var tracksList = _repo.GetAllTracks();

            Assert.NotEmpty(tracksList);
        }
        public IActionResult Get()
        {
            var response = _playlistRepository.GetAllTracks();

            return(Ok(response));
        }