Esempio n. 1
0
        public IActionResult Get(int id)
        {
            var product = _productApiService.Get(id);

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

            return(NotFound());
        }