Exemple #1
0
 public LoadPartialController()
 {
     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._sliderBusiness      = new SliderBusiness(_df, this._unitOfWork);
     this._ImageBusiness       = new ImageBusiness(_df, this._unitOfWork);
 }
Exemple #2
0
        //
        // GET: /Product/

        public AdminProductController()
        {
            this._unitOfWork               = new UnitOfWork(_df);
            this._productBusiness          = new ProductBusiness(_df, this._unitOfWork);
            this._productSizeBusiness      = new ProductSizeBusiness(_df, this._unitOfWork);
            this._productAttributeBusiness = new ProductAttributeBusiness(_df, this._unitOfWork);
            this._brandBusiness            = new BrandBusiness(_df, this._unitOfWork);
            this._categoryBusiness         = new CategoryBusiness(_df, this._unitOfWork);
            this._imageBusiness            = new ImageBusiness(_df, this._unitOfWork);
            this._sliderBusiness           = new SliderBusiness(_df, this._unitOfWork);
            this._subCategoryBusiness      = new SubCategoryBusiness(_df, this._unitOfWork);
        }
Exemple #3
0
 public AdminSliderSettingController()
 {
     this._unitOfWork     = new UnitOfWork(_df);
     this._sliderBusiness = new SliderBusiness(_df, this._unitOfWork);
 }