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