예제 #1
0
        // POST api/Shows
        public ShowDto Post([FromBody] ShowDto show)
        {
            var newShow = show.ConvertFromDto();

            ShowService.Add(newShow);
            return(newShow.ConvertToDto());
        }