public ContactController(IRepository <Contact> contactRepository, IRepository <ContactArea> contactAreaRepository, IWorkContext workContext, IContentLocalizationService contentLocalizationService) { _contactRepository = contactRepository; _contactAreaRepository = contactAreaRepository; _workContext = workContext; _contentLocalizationService = contentLocalizationService; }
public CategoryMenuViewComponent(IRepository <Category> categoryRepository, IContentLocalizationService contentLocalizationService, IRepository <Entity> entityRepository, IRepositoryWithTypedId <EntityType, string> entityTypeRepository) { _categoryRepository = categoryRepository; _contentLocalizationService = contentLocalizationService; _entityRepository = entityRepository; _entityTypeRepository = entityTypeRepository; }
public ProductWidgetViewComponent(IRepository <Product> productRepository, IMediaService mediaService, IProductPricingService productPricingService, IContentLocalizationService contentLocalizationService) { _productRepository = productRepository; _mediaService = mediaService; _productPricingService = productPricingService; _contentLocalizationService = contentLocalizationService; }
public ProductRecentlyViewedViewComponent(IRecentlyViewedProductRepository productRepository, IMediaService mediaService, IProductPricingService productPricingService, IContentLocalizationService contentLocalizationService, IWorkContext workContext) { _productRepository = productRepository; _mediaService = mediaService; _productPricingService = productPricingService; _contentLocalizationService = contentLocalizationService; _workContext = workContext; }
public ProductController(IRepository <Product> productRepository, IMediaService mediaService, IMediator mediator, IProductPricingService productPricingService, IContentLocalizationService contentLocalizationService) { _productRepository = productRepository; _mediaService = mediaService; _mediator = mediator; _productPricingService = productPricingService; _contentLocalizationService = contentLocalizationService; }
public ProductWidgetViewComponent(IRepository <Product> productRepository, IMediaService mediaService, IProductPricingService productPricingService, IContentLocalizationService contentLocalizationService, IRepository <Entity> entityRepository, IRepositoryWithTypedId <EntityType, string> entityTypeRepository) { _productRepository = productRepository; _mediaService = mediaService; _productPricingService = productPricingService; _contentLocalizationService = contentLocalizationService; _entityRepository = entityRepository; _entityTypeRepository = entityTypeRepository; }
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; }
public ComparingProductController( UserManager <User> userManager, IRepository <ComparingProduct> comparingProductRepository, IComparingProductService comparingProductService, IProductPricingService productPricingService, IMediaService mediaService, IContentLocalizationService contentLocalizationService, IWorkContext workContext) { _comparingProductRepository = comparingProductRepository; _comparingProductService = comparingProductService; _productPricingService = productPricingService; _mediaService = mediaService; _contentLocalizationService = contentLocalizationService; _workContext = workContext; }
public BrandController(IRepository <Product> productRepository, IMediaService mediaService, IRepository <Category> categoryRepository, IRepository <Brand> brandRepository, IProductPricingService productPricingService, IConfiguration config, IContentLocalizationService contentLocalizationService) { _productRepository = productRepository; _mediaService = mediaService; _categoryRepository = categoryRepository; _brandRepository = brandRepository; _productPricingService = productPricingService; _contentLocalizationService = contentLocalizationService; _pageSize = config.GetValue <int>("Catalog.ProductPageSize"); }
public ProductImportExportController( IRepository <Product> productRepository, IMediaService mediaService, IMediator mediator, IProductPricingService productPricingService, IContentLocalizationService contentLocalizationService, IRepository <Category> categoryRepository, IRepository <Brand> brandRepository) { _productRepository = productRepository; _mediaService = mediaService; _mediator = mediator; _productPricingService = productPricingService; _contentLocalizationService = contentLocalizationService; _brandRepository = brandRepository; _categoryRepository = categoryRepository; }
public ProductController(IRepository <Product> productRepository, IMediaService mediaService, IMediator mediator, IProductPricingService productPricingService, IContentLocalizationService contentLocalizationService, ICurrencyService currencyService, IRepository <Entity> entityRepository, IRepositoryWithTypedId <EntityType, string> entityTypeRepository) { _productRepository = productRepository; _mediaService = mediaService; _mediator = mediator; _productPricingService = productPricingService; _contentLocalizationService = contentLocalizationService; _currencyService = currencyService; _entityRepository = entityRepository; _entityTypeRepository = entityTypeRepository; }
public SearchController(IRepository <Product> productRepository, IRepository <Brand> brandRepository, IRepository <Category> categoryRepository, IMediaService mediaService, IRepository <Query> queryRepository, IProductPricingService productPricingService, IContentLocalizationService contentLocalizationService, IRepository <Entity> entityRepository, IRepositoryWithTypedId <EntityType, string> entityTypeRepository, IConfiguration config) { _productRepository = productRepository; _brandRepository = brandRepository; _categoryRepository = categoryRepository; _mediaService = mediaService; _queryRepository = queryRepository; _productPricingService = productPricingService; _contentLocalizationService = contentLocalizationService; _pageSize = config.GetValue <int>("Catalog.ProductPageSize"); _entityRepository = entityRepository; _entityTypeRepository = entityTypeRepository; }
public HomeController(ILoggerFactory factory, IWidgetInstanceService widgetInstanceService, IContentLocalizationService contentLocalizationService) { _logger = factory.CreateLogger("Unhandled Error"); _widgetInstanceService = widgetInstanceService; _contentLocalizationService = contentLocalizationService; }
public CategoryWidgetViewComponent(IRepository <Category> categoriesRepository, IMediaService mediaService, IContentLocalizationService contentLocalizationService) { _categoriesRepository = categoriesRepository; _mediaService = mediaService; _contentLocalizationService = contentLocalizationService; }
public CategoryMenuViewComponent(IRepository <Category> categoryRepository, IContentLocalizationService contentLocalizationService) { _categoryRepository = categoryRepository; _contentLocalizationService = contentLocalizationService; }
public SpaceBarWidgetViewComponent(IMediaService mediaService, IStringLocalizerFactory stringLocalizerFactory, IContentLocalizationService contentLocalizationService) { _mediaService = mediaService; _localizer = stringLocalizerFactory.Create(null); _contentLocalizationService = contentLocalizationService; }
public PageController(IRepository <Page> pageRepository, IContentLocalizationService contentLocalizationService) { _pageRepository = pageRepository; _contentLocalizationService = contentLocalizationService; }
public MenuViewComponent(IRepository <Menu> menuRepository, IContentLocalizationService contentLocalizationService, IStringLocalizerFactory stringLocalizerFactory) { _menuRepository = menuRepository; _contentLocalizationService = contentLocalizationService; _localizer = stringLocalizerFactory.Create(null); }