public FactoryOnlineController(IStoreContract storeContract,
                                IStorageContract storageContract,
                                IGalleryContract galleryContract,
                                IInventoryContract inventoryContract,
                                IStoreCartContract storeCartContract,
                                IProductContract prodcutContract,
                                IAdministratorContract administratorContract,
                                IStoreCartItemContract storeCartItemContract,
                                IColorContract colorContract,
                                IProductContract productContract,
                                IProductOrigNumberContract _productOrigNumberContract,
                                IBrandContract _brandContract,
                                IPurchaseContract _purchaseContract,
                                IDesignerContract _DesignerContract,
                                IFactorysContract _factoryContract,
                                ICategoryContract categoryContract)
 {
     _storeContract                  = storeContract;
     _storageContract                = storageContract;
     _storeCartContract              = storeCartContract;
     _productContract                = prodcutContract;
     _storeCartItemContract          = storeCartItemContract;
     _colorContract                  = colorContract;
     _categoryContract               = categoryContract;
     this._brandContract             = _brandContract;
     this._administratorContract     = administratorContract;
     this._productOrigNumberContract = _productOrigNumberContract;
     ViewBag.Color          = _colorContract.ParentSelectList("请选择");
     ViewBag.Category       = CacheAccess.GetCategory(_categoryContract, true);
     ViewBag.Brand          = CacheAccess.GetBrand(_brandContract, true);
     this._purchaseContract = _purchaseContract;
     this._DesignerContract = _DesignerContract;
     this._factoryContract  = _factoryContract;
 }
Exemple #2
0
 public JobPositionController(IJobPositionContract jobPositionContract,
                              IDepartmentContract departmentContract,
                              IWorkTimeContract workTimeContract,
                              IFactorysContract factorysContract,
                              IAppVerManageContract appVerManageContract,
                              IAnnualLeaveContract annualLeaveContract,
                              IConfigureContract configureContract)
 {
     _jobPositionContract  = jobPositionContract;
     _departmentContract   = departmentContract;
     _workTimeContract     = workTimeContract;
     _annualLeaveContract  = annualLeaveContract;
     _factorysContract     = factorysContract;
     _appVerManageContract = appVerManageContract;
     _configureContract    = configureContract;
 }
Exemple #3
0
 public FactorysController(
     IFactorysContract factorysContract,
     IDesignerContract designerContract,
     IAdministratorContract administratorContract
     , IBrandContract _brandContract
     , IStoreContract _StoreContract
     , IDepartmentContract _DepartmentContract
     )
 {
     _factorysContract        = factorysContract;
     _designerContract        = designerContract;
     _administratorContract   = administratorContract;
     this._brandContract      = _brandContract;
     this._StoreContract      = _StoreContract;
     this._DepartmentContract = _DepartmentContract;
 }
 public DesignerController(
     IFactorysContract factoryContract,
     IDesignerContract designerContract,
     IBrandContract brandContract,
     IAdministratorContract administratorContract,
     IJobPositionContract jobPositionContract,
     IMemberContract memberContract,
     IDepartmentContract _departmentContract,
     //IAdministratorTypeContract AdministratorTypeContract,
     IRoleContract _roleContract
     )
 {
     _designerContract      = designerContract;
     _factorysContract      = factoryContract;
     _brandContract         = brandContract;
     _memberContract        = memberContract;
     _jobPositionContract   = jobPositionContract;
     _administratorContract = administratorContract;
     //this.AdministratorTypeContract = AdministratorTypeContract;
     this._departmentContract = _departmentContract;
     this._roleContract       = _roleContract;
 }