public void OnGet(string id) { ProductCategoryWithProduct = _productCategoryQuery.GetProductCategoryWithProducts(id); }
public IViewComponentResult Invoke() { var Model = _productCategoryQuery.GetProductCategoryWithProducts(); return(View(Model)); }
public void OnGet(string id) { ProductCategoryWithProduct = _productCategoryQuery.GetProductCategoryWithProducts(id); }
public IViewComponentResult Invoke() { var Model = _productCategoryQuery.GetProductCategoryWithProducts(); return(View(Model)); }