Esempio n. 1
0
 public ProductRecentlyViewedViewComponent(IRecentlyViewedProductRepository productRepository, IMediaService mediaService, IProductPricingService productPricingService, IWorkContext workContext)
 {
     _productRepository     = productRepository;
     _mediaService          = mediaService;
     _productPricingService = productPricingService;
     _workContext           = workContext;
 }
 public ProductRecentlyViewedViewComponent(IRecentlyViewedProductRepository productRepository,
                                           IMediaService mediaService,
                                           IProductPricingService productPricingService,
                                           IContentLocalizationService contentLocalizationService,
                                           IWorkContext workContext, IRepository <Entity> entityRepository,
                                           IRepositoryWithTypedId <EntityType, string> entityTypeRepository)
 {
     _productRepository          = productRepository;
     _mediaService               = mediaService;
     _productPricingService      = productPricingService;
     _contentLocalizationService = contentLocalizationService;
     _workContext          = workContext;
     _entityRepository     = entityRepository;
     _entityTypeRepository = entityTypeRepository;
 }