public ProductCategoryController(IProductCategoryConnectAPI productCategoryConnectAPI, ApplicationDbContext context) { _context = context; _productCategoryConnectAPI = productCategoryConnectAPI; }
public CategoryViewComponent(IProductCategoryConnectAPI productCategoryConnectAPI) { _productCategoryConnectAPI = productCategoryConnectAPI; }