Example #1
0
        public IActionResult GetTrackByTrackId(int TrackId)
        {
            if (TrackId < 1)
            {
                return(BadRequest());
            }

            var Trackes = TrackManager.GetTrackByTrackId(TrackId);

            if (Trackes == null)
            {
                return(NotFound());
            }

            return(Ok(Trackes));
        }