private Product QueryProduct()

in DotNETCore-Agent/Controllers/ProductsController.cs [89:98]


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

            return BuildProduct(item);
        }