public IActionResult Get(int id) { var product = _productApiService.Get(id); if (product != null) { return(Ok(product)); } return(NotFound()); }