예제 #1
0
        public StatusCodeResult AddNewProducer([FromBody] ProducersModel producer)
        {
            if (_moviesRepository.AddNewProducer(producer))
            {
                return(new StatusCodeResult(200));
            }

            return(new StatusCodeResult(400));
        }