Example #1
0
 public AdminSearchController(IProductService productService, ICategoryService categoryService, IManufacturerService manufacturerService,
                              ITopicService topicService, INewsService newsService, IBlogService blogService, ICustomerService customerService, IOrderService orderService,
                              AdminSearchSettings adminSearchSettings, ILocalizationService localizationService, IWorkContext workContext)
 {
     _productService      = productService;
     _categoryService     = categoryService;
     _manufacturerService = manufacturerService;
     _topicService        = topicService;
     _newsService         = newsService;
     _blogService         = blogService;
     _customerService     = customerService;
     _orderService        = orderService;
     _adminSearchSettings = adminSearchSettings;
     _localizationService = localizationService;
     _workContext         = workContext;
 }
        public AdminController(
            IAdminSearchService searchService,
            ISiteService siteService,
            IContentDefinitionManager contentDefinitionManager,
            IEnumerable <IAdminSearchFilter> adminSearchFilters,
            IShapeFactory shapeFactory,
            IOptions <AdminSearchSettings> adminSearchSettings
            )
        {
            _searchService            = searchService;
            _siteService              = siteService;
            _contentDefinitionManager = contentDefinitionManager;
            _adminSearchFilters       = adminSearchFilters;
            _adminSearchSettings      = adminSearchSettings.Value;

            New = shapeFactory;
        }
Example #3
0
 public SearchController(IProductService productService, ICategoryService categoryService,
                         IBrandService brandService, ICollectionService collectionService,
                         IPageService pageService, INewsService newsService, IBlogService blogService, ICustomerService customerService, IOrderService orderService,
                         AdminSearchSettings adminSearchSettings, ITranslationService translationService, IWorkContext workContext, IGroupService groupService,
                         IStoreService storeService, IVendorService vendorService)
 {
     _productService      = productService;
     _categoryService     = categoryService;
     _brandService        = brandService;
     _collectionService   = collectionService;
     _pageService         = pageService;
     _newsService         = newsService;
     _blogService         = blogService;
     _customerService     = customerService;
     _orderService        = orderService;
     _adminSearchSettings = adminSearchSettings;
     _translationService  = translationService;
     _workContext         = workContext;
     _groupService        = groupService;
     _storeService        = storeService;
     _vendorService       = vendorService;
 }