Example #1
0
 public ActionResult <IEnumerable <Product> > GetProductByProductCategory(Guid id)
 {
     return(Ok(_categoryReadService.ReadByCategory(id)));
 }
Example #2
0
 public ActionResult <IEnumerable <ProductCategory> > GetProductCategoryDepartment(Guid id)
 {
     return(Ok(_productCategoryReadService.ReadByCategory(id)));
 }