Ejemplo n.º 1
0
 public ProductController()
 {
     this._unitOfWork               = new UnitOfWork(_df);
     this._categoryBusiness         = new CategoryBusiness(_df, this._unitOfWork);
     this._subCategoryBusiness      = new SubCategoryBusiness(_df, this._unitOfWork);
     this._brandBusiness            = new BrandBusiness(_df, this._unitOfWork);
     this._productBusiness          = new ProductBusiness(_df, this._unitOfWork);
     this._productSizeBusiness      = new ProductSizeBusiness(_df, this._unitOfWork);
     this._productAttributeBusiness = new ProductAttributeBusiness(_df, this._unitOfWork);
     this._ImageBusiness            = new ImageBusiness(_df, this._unitOfWork);
     this._AddToCartBusiness        = new AddToCartBusiness(_df, this._unitOfWork);
     this._WishListBusiness         = new WishListBusiness(_df, this._unitOfWork);
     this._CompareListBusiness      = new CompareListBusiness(_df, this._unitOfWork);
 }