Пример #1
0
        public async Task <ActionResult <ProductCategoryResult> > Get(int categoryId)
        {
            var category = await _productCategoryService.GetAsync(categoryId);

            return(Ok(new ProductCategoryResult(category)));
        }