예제 #1
0
        public IActionResult Publish(int id)
        {
            var product = _productApiService.Publish(id);

            if (product != null)
            {
                return(Ok(product));
            }

            return(NotFound());
        }