public ApplyMaximumsTask(IRepository<AUMaxBidJobControlRecord> maxbidjobcontrolRepo, IRepository<AUMaxBidRecord> maxbidRepo, IRepository<AULotLastBidChangeRecord> lotlastbidchangeRepo, ILogger logger, IConsignorService consignorService, ICustomerService customerService, IQueuedEmailService queuedEmailService, IEmailAccountService emailAccountService, EmailAccountSettings emailAccountSettings, IAUCatalogService AUcatalogService, ILotService lotService) { //this._customerService = customerService; this._logger = logger; this._maxbidjobcontrolRepo = maxbidjobcontrolRepo; this._maxbidRepo = maxbidRepo; this._lotlastbidchangeRepo = lotlastbidchangeRepo; this._consignorService = consignorService; this._customerService = customerService; this._queuedEmailService = queuedEmailService; this._emailAccountService = emailAccountService; this._emailAccountSettings = emailAccountSettings; this._AUcatalogService = AUcatalogService; this._lotService = lotService; }
//I think this is the method that uses dependancy injection to create the repos - as opposed to manual //see:http://alexwolfthoughts.com/creating-a-generic-repository-with-entity-framework-and-mvc public AUPublicController(IRepository<AUConsignorRecord> consignorRepo, IRepository<AUConsignmentRecord> consignmentRepo, IRepository<AUConsignorConsignmentRecord> consignorconsignmentRepo, IRepository<AUConsignorList> consignorlistRepo, IRepository<AUSaleRecord> saleRepo, IRepository<AUSessionRecord> sessionRepo, IRepository<AUIncrementRecord> incrementRepo, IRepository<AUAddressRecord> addressRepo, IRepository<AUCombAddress> combAddressRepo, IRepository<AULotList> lotlistRepo, IRepository<AUFeesRecord> feesRepo, IRepository<AUBidHistoryRecord> bidhistoryRepo, ICacheManager cacheManager, IPictureService pictureService, IConsignmentService consignmentservice, ILotService lotService, IForumService forumservice, IConsignorService consignorservice, IDateTimeHelper dateTimeHelper, IAuthenticationService authenticationService, ILocalizationService localizationService, ICountryService countryService, IStateProvinceService stateProvinceService, IWorkContext workContext, ICollectibleImportService collectibleimportService, //IRepository<AUCombConsignorConsignment> combinedRepo, ICategoryService categoryService, IStoreService storeService, IShippingService shippingService, IPermissionService permissionService, IEventPublisher eventPublisher, ISettingService settings, IProductService productService, IDbContext dbContext, IPhilatelicPdfService philatelicpdfService, ICollectibleExportService collectibleexportService, IAUSaleService ausaleService, IAclService aclService, IStoreMappingService storeMappingService, CatalogSettings catalogSettings, IWebHelper webHelper, IPriceFormatter priceFormatter, ICurrencyService currencyService, IStoreContext storeContext, MediaSettings mediaSettings, IPriceCalculationService priceCalculationService, ISpecificationAttributeService specificationAttributeService, ITaxService taxService, ICategoryTemplateService categoryTemplateService, ICustomerActivityService customerActivityService, ShoppingCartSettings shoppingCartSettings, IAUCatalogService AUcatalogService, IForumService forumService, ICustomerService customerService, ForumSettings forumSettings, ILogger logger, IRecentlyViewedProductsService recentlyViewedProductsService, SeoSettings seoSettings, IVendorService vendorService, VendorSettings vendorSettings, IProductTagService productTagService, IProductTemplateService productTemplateService, IProductAttributeParser productAttributeParser, IManufacturerService manufacturerService, IMeasureService measureService, IProductAttributeService productAttributeService, CustomerSettings customerSettings, IGenericAttributeService genericAttributeService, ISearchTermService searchTermService, IShoppingCartService shoppingCartService, IProductAttributeFormatter productAttributeFormatter) { _cacheManager = cacheManager; _pictureService = pictureService; _lotService = lotService; _forumservice = forumservice; _consignorRepo = consignorRepo; _consignmentRepo = consignmentRepo; _consignorconsignmentRepo = consignorconsignmentRepo; _consignorService = consignorservice; _consignmentService = consignmentservice; _consignorlistRepo = consignorlistRepo; _saleRepo = saleRepo; _sessionRepo = sessionRepo; _incrementRepo = incrementRepo; _addressRepo = addressRepo; _combAddressRepo = combAddressRepo; _lotlistRepo = lotlistRepo; _feesRepo = feesRepo; _bidhistoryRepo = bidhistoryRepo; _dateTimeHelper = dateTimeHelper; _authenticationService = authenticationService; _localizationService = localizationService; _countryService = countryService; _stateProvinceService = stateProvinceService; _workContext = workContext; _collectibleimportService = collectibleimportService; _categoryService = categoryService; _storeService = storeService; _shippingService = shippingService; _permissionService = permissionService; _eventPublisher = eventPublisher; _settings = settings; _productService = productService; _dbContext = dbContext; _philatelicpdfService = philatelicpdfService; _collectibleexportService = collectibleexportService; _ausaleService = ausaleService; _aclService = aclService; _storeMappingService = storeMappingService; _catalogSettings = catalogSettings; _webHelper = webHelper; _priceFormatter = priceFormatter; _currencyService = currencyService; _storeContext = storeContext; _mediaSettings = mediaSettings; _priceCalculationService = priceCalculationService; _specificationAttributeService = specificationAttributeService; _taxService = taxService; _categoryTemplateService = categoryTemplateService; _customerActivityService = customerActivityService; _shoppingCartSettings = shoppingCartSettings; _AUcatalogService = AUcatalogService; _forumService = forumService; _customerService = customerService; _forumSettings = forumSettings; _logger = logger; _recentlyViewedProductsService = recentlyViewedProductsService; _seoSettings = seoSettings; _vendorService = vendorService; _vendorSettings = vendorSettings; _productTemplateService = productTemplateService; _productTagService = productTagService; _productAttributeParser = productAttributeParser; _manufacturerService = manufacturerService; _measureService = measureService; _productAttributeService = productAttributeService; _customerSettings = customerSettings; _genericAttributeService = genericAttributeService; _searchTermService = searchTermService; _shoppingCartService = shoppingCartService; _productAttributeFormatter = productAttributeFormatter; }
//AUConsignor End #endregion #region Constructors public ProductController(ICategoryService categoryService, IManufacturerService manufacturerService, IProductService productService, IVendorService vendorService, IProductTemplateService productTemplateService, IProductAttributeService productAttributeService, IWorkContext workContext, IStoreContext storeContext, ITaxService taxService, ICurrencyService currencyService, IPictureService pictureService, ILocalizationService localizationService, IMeasureService measureService, IPriceCalculationService priceCalculationService, IPriceFormatter priceFormatter, IWebHelper webHelper, ISpecificationAttributeService specificationAttributeService, IDateTimeHelper dateTimeHelper, IRecentlyViewedProductsService recentlyViewedProductsService, ICompareProductsService compareProductsService, IWorkflowMessageService workflowMessageService, IProductTagService productTagService, IOrderReportService orderReportService, IAclService aclService, IStoreMappingService storeMappingService, IPermissionService permissionService, ICustomerActivityService customerActivityService, IProductAttributeParser productAttributeParser, IShippingService shippingService, IEventPublisher eventPublisher, MediaSettings mediaSettings, CatalogSettings catalogSettings, VendorSettings vendorSettings, ShoppingCartSettings shoppingCartSettings, LocalizationSettings localizationSettings, CustomerSettings customerSettings, CaptchaSettings captchaSettings, SeoSettings seoSettings, ICacheManager cacheManager, IAUCatalogService AUcatalogService, //NJM AUConsignor IForumService forumService, //NJM AUConsignor ICustomerService customerService, //NJM AUConsignor ForumSettings forumSettings, //NJM AUConsignor ILogger logger) //NJM AUConsignor { this._categoryService = categoryService; this._manufacturerService = manufacturerService; this._productService = productService; this._vendorService = vendorService; this._productTemplateService = productTemplateService; this._productAttributeService = productAttributeService; this._workContext = workContext; this._storeContext = storeContext; this._taxService = taxService; this._currencyService = currencyService; this._pictureService = pictureService; this._localizationService = localizationService; this._measureService = measureService; this._priceCalculationService = priceCalculationService; this._priceFormatter = priceFormatter; this._webHelper = webHelper; this._specificationAttributeService = specificationAttributeService; this._dateTimeHelper = dateTimeHelper; this._recentlyViewedProductsService = recentlyViewedProductsService; this._compareProductsService = compareProductsService; this._workflowMessageService = workflowMessageService; this._productTagService = productTagService; this._orderReportService = orderReportService; this._aclService = aclService; this._storeMappingService = storeMappingService; this._permissionService = permissionService; this._customerActivityService = customerActivityService; this._productAttributeParser = productAttributeParser; this._shippingService = shippingService; this._eventPublisher = eventPublisher; this._mediaSettings = mediaSettings; this._catalogSettings = catalogSettings; this._vendorSettings = vendorSettings; this._shoppingCartSettings = shoppingCartSettings; this._localizationSettings = localizationSettings; this._customerSettings = customerSettings; this._captchaSettings = captchaSettings; this._seoSettings = seoSettings; this._cacheManager = cacheManager; this._AUcatalogService = AUcatalogService; //NJM: AUConsignor this._forumService = forumService; //NJM: AUConsignor this._customerService = customerService; //NJM: AUConsignor this._forumSettings = forumSettings; //NJM: AUConsignor this._logger = logger; //NJM: AUConsignor }