public TempOnlineController(IStoreContract storeContract, IStorageContract storageContract, IGalleryContract galleryContract, IInventoryContract inventoryContract, IStoreCartContract storeCartContract, IProductContract prodcutContract, IAdministratorContract administratorContract, IStoreCartItemContract storeCartItemContract, IColorContract colorContract, IOnlinePurchaseProductContract oppContract, IProductContract productContract, IProductOrigNumberContract _productOrigNumberContract, IStoreTypeContract _storeTypeContract, IBrandContract _brandContract, IPurchaseContract _purchaseContract, ICategoryContract categoryContract) { _storeContract = storeContract; _storageContract = storageContract; _storeCartContract = storeCartContract; _productContract = prodcutContract; _storeCartItemContract = storeCartItemContract; _colorContract = colorContract; _categoryContract = categoryContract; _oppContract = oppContract; 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._storeTypeContract = _storeTypeContract; this._purchaseContract = _purchaseContract; }
public PurchaseController(IPurchaseContract purchaseContract, IPurchaseItemContract purchaseItemContract, IStoreTypeContract _storeTypeContract, IStorageContract storageContract, IStoreContract storeContract, IAdministratorContract administratorContract, IInventoryContract inventoryContract, IProductContract productContract, IOrderblankContract orderblankContract, IPurchaseAuditContract purchaseAuditContract) { _purchaseContract = purchaseContract; _purchaseItemContract = purchaseItemContract; _storageContract = storageContract; _storeContract = storeContract; _administratorContract = administratorContract; _inventoryContract = inventoryContract; _productContract = productContract; _orderblankContract = orderblankContract; _purchaseAuditContract = purchaseAuditContract; this._storeTypeContract = _storeTypeContract; }