private Product QueryProduct()

in DotNET-Agent/src/Controllers/ProductsController.cs [79:88]


        private Product QueryProduct(int id)
        {
            var item = LazyTable.Value.GetItem(id);
            if (item == null)
            {
                throw new ProductNotFoundException("Can't find a product with id = " + id);
            }

            return BuildProduct(item);
        }