public UmbracoApplicationCacheManagingService(IProductService productService, IProductVariantService productVariantService, IProductVariantGroupService productVariantGroupService, ICategoryService categoryService, IOrderDiscountService orderDiscountService, IProductDiscountService productDiscountService, IProductRepository productRepository, ICategoryRepository categoryRepository, IProductVariantGroupRepository productVariantGroupRepository, IProductVariantRepository productVariantRepository, IStoreService storeService, IApplicationCacheService applicationCacheService) { _productService = productService; _productVariantService = productVariantService; _productVariantGroupService = productVariantGroupService; _categoryService = categoryService; _orderDiscountService = orderDiscountService; _productDiscountService = productDiscountService; _productRepository = productRepository; _categoryRepository = categoryRepository; _productVariantGroupRepository = productVariantGroupRepository; _productVariantRepository = productVariantRepository; _storeService = storeService; _applicationCacheService = applicationCacheService; _manageUmbracoXMLCacheWhenLoadBalanced = System.Web.Configuration.WebConfigurationManager. AppSettings["uWebshopLoadBalancedNoUmbraco"] != "true"; }
public UmbracoApplicationCacheManagingService(IProductService productService, IProductVariantService productVariantService, IProductVariantGroupService productVariantGroupService, ICategoryService categoryService, IOrderDiscountService orderDiscountService, IProductDiscountService productDiscountService, IProductRepository productRepository, ICategoryRepository categoryRepository, IProductVariantGroupRepository productVariantGroupRepository, IProductVariantRepository productVariantRepository, IStoreService storeService, IApplicationCacheService applicationCacheService) { _productService = productService; _productVariantService = productVariantService; _productVariantGroupService = productVariantGroupService; _categoryService = categoryService; _orderDiscountService = orderDiscountService; _productDiscountService = productDiscountService; _productRepository = productRepository; _categoryRepository = categoryRepository; _productVariantGroupRepository = productVariantGroupRepository; _productVariantRepository = productVariantRepository; _storeService = storeService; _applicationCacheService = applicationCacheService; _manageUmbracoXMLCacheWhenLoadBalanced = System.Web.Configuration.WebConfigurationManager. AppSettings["uWebshopLoadBalancedNoUmbraco"] != "true"; }
public ProductsController( IProductService productService, IFavouriteProductService favouriteService, IGroceryListItemService groceryListItemService, IGroceryListService groceryListService, IProductCategoryService categoryService, IProductDiscountService discountService, IProductReviewService reviewService, IProductSubcategoryService subcategoryService, ISupplierService supplierService ) { _productService = productService; _favouriteService = favouriteService; _groceryListItemService = groceryListItemService; _groceryListService = groceryListService; _categoryService = categoryService; _discountService = discountService; _reviewService = reviewService; _subcategoryService = subcategoryService; _supplierService = supplierService; }
public DiscountService(IOrderDiscountService orderDiscountService, IProductDiscountService productDiscountService) { _orderDiscountService = orderDiscountService; _productDiscountService = productDiscountService; }
public ProductDiscountController(IProductDiscountService productDiscountService, IOptions <AppConfig> appConfig) { _appConfig = appConfig; _productDiscountService = productDiscountService; }
public ProductDiscountController() { var dbfactory = new DatabaseFactory(); _ProductDiscountService = new ProductDiscountService(new ProductDiscountRepository(dbfactory), new UnitOfWork(dbfactory)); _unitOfMeasurementService = new UnitOfMeasurementService(new UnitOfMeasurementRepository(dbfactory), new UnitOfWork(dbfactory)); }
public DiscountService(IOrderDiscountService orderDiscountService, IProductDiscountService productDiscountService) { _orderDiscountService = orderDiscountService; _productDiscountService = productDiscountService; }