public InventoryController(IInventoryContract inventoryContract,
                                   IStoreContract storeContract,
                                   IStorageContract storageContract,
                                   IProductContract productContract,
                                   IBrandContract brandContract,
                                   ICategoryContract categoryContract,
                                   IColorContract colorContract,
                                   ILogContract logContract,
                                   IProductBarcodeDetailContract productBarcodeDetailContract,
                                   IProductBarcodePrintInfoContract productBarcodePrintInfoContract,
                                   IInventoryRecordContract inventoryRecordContract,
                                   IStoreRecommendContract storeRecommendContract,
                                   ISeasonContract seasonContract,
                                   IProductTrackContract productTrackContract,
                                   IAdministratorContract administratorContract)
        {
            _administratorContract           = administratorContract;
            _inventoryContract               = inventoryContract;
            _storeContract                   = storeContract;
            _productContract                 = productContract;
            _storageContract                 = storageContract;
            _brandContract                   = brandContract;
            _categoryContract                = categoryContract;
            _colorContract                   = colorContract;
            _productBarcodePrintInfoContract = productBarcodePrintInfoContract;
            _productBarcodeDetailContract    = productBarcodeDetailContract;
            _logContract             = logContract;
            _inventoryRecordContract = inventoryRecordContract;
            _storeRecommendContract  = storeRecommendContract;
            _seasonContract          = seasonContract;
            _productTrackContract    = productTrackContract;

            ViewBag.Products = CacheAccess.GetProductListItem(_productContract, true);
        }
 public StoreRecommendController(IProductContract productContract,
                                 IBrandContract brandContract,
                                 ICategoryContract categoryContract,
                                 IColorContract colorContract,
                                 ISeasonContract seasonContract,
                                 ISizeContract sizeContract,
                                 IInventoryContract inventoryContract,
                                 IStorageContract storageContract,
                                 ISalesCampaignContract salesCampaignContract,
                                 IMemberContract memberContract,
                                 ICollocationContract collocationContract,
                                 IRetailContract retailContract,
                                 IRetailItemContract retailItemContract,
                                 IScoreRuleContract scoreRuleContract,
                                 ICouponContract couponContract,
                                 IAdministratorContract administratorContract,
                                 IMemberDepositContract memberDepositContract,
                                 ICheckerContract checkerContract,
                                 IStoreActivityContract storeActivityContract,
                                 IStoreContract storeContract,
                                 IProductTrackContract productTrackContract,
                                 IPermissionContract permissionContract,
                                 IProductOrigNumberContract productOrigNumberContract,
                                 IStoreRecommendContract storeRecommendContract,
                                 IStoreNoRecommendContract storeNoRecommendContract,
                                 IRecommendMemberSingleProductContract recommendMemberSingleProductContract
                                 )
 {
     _storeRecommendContract     = storeRecommendContract;
     _storeNoRecommendContract   = storeNoRecommendContract;
     _productContract            = productContract;
     _inventoryContract          = inventoryContract;
     _brandContract              = brandContract;
     _storageContract            = storageContract;
     _salesCampaignContract      = salesCampaignContract;
     _memberContract             = memberContract;
     _collocationContract        = collocationContract;
     _retailContract             = retailContract;
     _retailItemContract         = retailItemContract;
     _scoreRuleContract          = scoreRuleContract;
     _couponContract             = couponContract;
     _administratorContract      = administratorContract;
     _memberDepositContract      = memberDepositContract;
     _checkerContract            = checkerContract;
     _storeActivityContract      = storeActivityContract;
     _storeContract              = storeContract;
     _productTrackContract       = productTrackContract;
     _permissionContract         = permissionContract;
     _productOrignNumberContract = productOrigNumberContract;
     _brandContract              = brandContract;
     _categoryContract           = categoryContract;
     _colorContract              = colorContract;
     _seasonContract             = seasonContract;
     _sizeContract = sizeContract;
     _recommendMemberSingleProductContract = recommendMemberSingleProductContract;
 }