Пример #1
0
        public IActionResult PostNewTrack([FromForm] Track NewTrack)
        {
            var TrackInDb = TrackManager.AddTrack(NewTrack);

            if (TrackInDb == null)
            {
                return(NotFound());
            }
            return(Ok(TrackInDb));
        }