Beispiel #1
0
        public ProductService(AppDbContext dbContext,
                              ILocalizedEntityService localizedEntityService,
                              IProductDownloadsLogService productDownloadsLogService,
                              IUserLikesService userLikesService,
                              IUserWishlistService userWishlistService,
                              IUserGroupsService userGroupsService,
                              IPostCategoriesService categoriesService,
                              IProductDiscountsForUserGroupsService productDiscountsForUserGroupsService,
                              IProductCheckoutAttributesService productCheckoutAttributesService,
                              ILocalizationService localizationService,
                              IUsersService usersService,
                              IEventPublisher eventPublisher) : base(dbContext,
                                                                     localizedEntityService,
                                                                     userLikesService,
                                                                     userWishlistService,
                                                                     categoriesService,
                                                                     eventPublisher)
        {
            _dbContext = dbContext;
            _productDownloadsLogService           = productDownloadsLogService;
            _userGroupsService                    = userGroupsService;
            _categoriesService                    = categoriesService;
            _productDiscountsForUserGroupsService = productDiscountsForUserGroupsService;
            _productCheckoutAttributesService     = productCheckoutAttributesService;
            _localizationService                  = localizationService;
            _usersService = usersService;

            _cacheKey = nameof(TblProducts);
        }
 public ProductCheckoutAttributeOptionsController(IProductCheckoutAttributeModelFactory productCheckoutAttributeModelFactory,
                                                  ILocalizedEntityService localizedEntityService,
                                                  ILocalizationService localizationService,
                                                  IProductCheckoutAttributesService productCheckoutAttributesService)
 {
     _productCheckoutAttributeModelFactory = productCheckoutAttributeModelFactory;
     _localizedEntityService           = localizedEntityService;
     _localizationService              = localizationService;
     _productCheckoutAttributesService = productCheckoutAttributesService;
 }
Beispiel #3
0
 public PurchaseController(IUserGroupsService userGroupsService,
                           IInvoiceService invoiceService,
                           IProductService productService,
                           IProductModelFactory productModelFactory,
                           ILocalizationService localizationService,
                           IProductCheckoutAttributesService productCheckoutAttributesService)
 {
     _userGroupsService   = userGroupsService;
     _invoiceService      = invoiceService;
     _productService      = productService;
     _productModelFactory = productModelFactory;
     _localizationService = localizationService;
     _productCheckoutAttributesService = productCheckoutAttributesService;
 }
Beispiel #4
0
 public DownloadController(
     IProductService productService,
     IFileServersService fileServersService,
     ILocalizationService localizationService,
     IProductCheckoutAttributesService productCheckoutAttributesService,
     IProductDiscountsForUserGroupsService productDiscountsForUserGroupsService,
     IProductDownloadsLogService downloadsLogService)
 {
     _productService      = productService;
     _fileServersService  = fileServersService;
     _localizationService = localizationService;
     _productCheckoutAttributesService     = productCheckoutAttributesService;
     _productDiscountsForUserGroupsService = productDiscountsForUserGroupsService;
     _downloadsLogService = downloadsLogService;
 }
Beispiel #5
0
 public UsersService(AppDbContext dbContext,
                     IUserLikesService userLikesService,
                     IUserWishlistService userWishlistService,
                     IProductCheckoutAttributesService productCheckoutAttributesService,
                     INotificationsService notificationsService,
                     ISettingService settingService,
                     IEventPublisher eventPublisher)
 {
     _dbContext           = dbContext;
     _userLikesService    = userLikesService;
     _userWishlistService = userWishlistService;
     _productCheckoutAttributesService = productCheckoutAttributesService;
     _notificationsService             = notificationsService;
     _settingService = settingService;
     _eventPublisher = eventPublisher;
 }
Beispiel #6
0
 public ProductModelFactory(IProductService productService,
                            IUserLikesService userLikesService,
                            IUserWishlistService userWishlistService,
                            IUsersService usersService,
                            IUserGroupsService userGroupsService,
                            IProductDiscountsForUserGroupsService productDiscountsForUserGroupsService,
                            ILocalizationService localizationService,
                            IProductCheckoutAttributesService checkoutAttributesService,
                            HttpContextBase httpContext)
 {
     _productService      = productService;
     _userLikesService    = userLikesService;
     _userWishlistService = userWishlistService;
     _usersService        = usersService;
     _userGroupsService   = userGroupsService;
     _productDiscountsForUserGroupsService = productDiscountsForUserGroupsService;
     _localizationService       = localizationService;
     _checkoutAttributesService = checkoutAttributesService;
     _httpContext = httpContext;
 }
Beispiel #7
0
 public InvoiceService(AppDbContext dbContext,
                       IWorkContext workContext,
                       IUsersService usersService,
                       IUserGroupsService userGroupsService,
                       IProductService productService,
                       IProductCheckoutAttributesService productCheckoutAttributesService,
                       ITaxesService taxesService,
                       IPluginFinder pluginFinder,
                       ILicenseManager licenseManager,
                       ISettingService settingService,
                       IEventPublisher eventPublisher)
 {
     _dbContext         = dbContext;
     _workContext       = workContext;
     _usersService      = usersService;
     _userGroupsService = userGroupsService;
     _productService    = productService;
     _productCheckoutAttributesService = productCheckoutAttributesService;
     _taxesService   = taxesService;
     _pluginFinder   = pluginFinder;
     _licenseManager = licenseManager;
     _settingService = settingService;
     _eventPublisher = eventPublisher;
 }