public ProductsController(IProductsRepo productsRepo) { _prodHandler = productsRepo.GetProductHandler(); _prodOptionHandler = productsRepo.GetProductOptionHandler(); _prodRepo = productsRepo; }
public ProductOptionsController(IProductOptionHandler productOptionsHandler) { _productOptionsHandler = productOptionsHandler; }
public ProductHandler(IProductsRepo prodRep) { _prodRepo = prodRep; _productOptionHandler = prodRep.GetProductOptionHandler(); _dbHandler = prodRep.GetDbHandler(); }
public ProductOptions(IProductOptionHandler prodOpHandler) { _prodOpHandler = prodOpHandler; _prodIdFilter = string.Empty; }