public CatalogController(ICatalogViewModelService catalogViewModelService, IProductViewModelService productViewModelService, IVendorService vendorService, IWorkContext workContext, IStoreContext storeContext, ILocalizationService localizationService, IWebHelper webHelper, IGenericAttributeService genericAttributeService, IAclService aclService, IStoreMappingService storeMappingService, IPermissionService permissionService, ICustomerActivityService customerActivityService, ICustomerActionEventService customerActionEventService, IVendorViewModelService vendorViewModelService, VendorSettings vendorSettings) { this._catalogViewModelService = catalogViewModelService; this._productViewModelService = productViewModelService; this._vendorService = vendorService; this._workContext = workContext; this._storeContext = storeContext; this._localizationService = localizationService; this._webHelper = webHelper; this._genericAttributeService = genericAttributeService; this._aclService = aclService; this._storeMappingService = storeMappingService; this._permissionService = permissionService; this._customerActivityService = customerActivityService; this._customerActionEventService = customerActionEventService; this._vendorViewModelService = vendorViewModelService; this._vendorSettings = vendorSettings; }
public IndexModel(ICatalogViewModelService catalogViewModelService, IStringLocalizer <IndexModel> stringLocalizer, IHtmlLocalizer <IndexModel> htmlLocalizer) { _catalogViewModelService = catalogViewModelService; _stringLocalizer = stringLocalizer; _htmlLocalizer = htmlLocalizer; }
public ProductsController( ICatalogViewModelService catalogViewModelService, ILogger <ProductsController> logger, IBookDetailsService bookDetailsService) { _catalogViewModelService = catalogViewModelService; _logger = logger; _bookDetailsService = bookDetailsService; }
public IndexModel(ICatalogViewModelService catalogViewModelService, ICatalogItemViewModelService catalogItemViewModelService, IMemoryCache cache, IConfiguration configuration, IWebHostEnvironment webHostEnvironment, ILoggerFactory loggerFactory) { _catalogViewModelService = catalogViewModelService; _catalogItemViewModelService = catalogItemViewModelService; _cache = cache; _configuration = configuration; _webHostEnvironment = webHostEnvironment; _logger = loggerFactory.CreateLogger <IndexModel>(); }
public HomeViewModelService(ICatalogService catalogService, IOrderItemService orderItemService, IDiscountViewModelService discountViewModelService, ICatalogViewModelService catalogViewModelService) { _catalogService = catalogService; _orderItemService = orderItemService; _catalogViewModelService = catalogViewModelService; _discountViewModelService = discountViewModelService; }
public AddCatalogItemModel(ICatalogItemViewModelService catalogItemViewModelService, CatalogNotifications catalogNotifications, IAsyncRepository <CatalogItem> catalogItemRepository, IConfiguration configuration, IWebHostEnvironment webHostEnvironment, ICatalogViewModelService catalogViewModelService) { _catalogItemViewModelService = catalogItemViewModelService; _catalogNotifications = catalogNotifications; _catalogItemRepository = catalogItemRepository; _configuration = configuration; _webHostEnvironment = webHostEnvironment; _catalogViewModelService = catalogViewModelService; }
public async Task <IActionResult> Favorites([FromServices] IUserService userService, FilterResponseViewModel viewModel, [FromServices] ICatalogViewModelService catalogViewModelService) { viewModel.CurrentPage = viewModel.CurrentPage < 1 ? 1 : viewModel.CurrentPage; ViewData["Categories"] = string.Join(",", viewModel.Categories); ViewData["Authors"] = string.Join(",", viewModel.Authors); ViewData["Publishers"] = string.Join(",", viewModel.Publishers); //_logger.LogDebug(string.Join(", ", viewModel.Publishers)); var userId = User.Claims.FirstOrDefault(c => c.Type == ClaimTypes.NameIdentifier)?.Value; int.TryParse(userId, out int id); var model = await userService.GetFavoritesAsync(viewModel, id); return(View(model)); }
public IndexModel(ICatalogViewModelService catalogViewModelService, ICatalogSearchService catalogSearchService, IAsyncRepository <CatalogItem> itemRepository) { _catalogViewModelService = catalogViewModelService; _catalogSearchService = catalogSearchService; _itemRepository = itemRepository; }
public ManufacturerFeaturedProductsViewComponent( ICatalogViewModelService catalogViewModelService) { this._catalogViewModelService = catalogViewModelService; }
public IndexModel(ICatalogViewModelService catalogViewModelService, IConfiguration config) { _catalogViewModelService = catalogViewModelService; _config = config; }
public CachedCatalogVIewModelService(IMemoryCache cache, CatalogViewModelService catalogViewModelService) { _cache = cache; _catalogViewModelService = catalogViewModelService; }
public SearchBoxViewComponent(ICatalogViewModelService catalogViewModelService) { this._catalogViewModelService = catalogViewModelService; }
public CatalogApiController(ICatalogViewModelService catalogViewModelService) { _catalogViewModelService = catalogViewModelService; }
public CatalogController(ICatalogViewModelService catalogViewModelService) => _catalogViewModelService = catalogViewModelService;
public HomePageCategoriesViewComponent( ICatalogViewModelService catalogViewModelService ) { _catalogViewModelService = catalogViewModelService; }
public CategoryFeaturedProductsViewComponent( ICatalogViewModelService catalogViewModelService ) { _catalogViewModelService = catalogViewModelService; }
public CategoryNavigationViewComponent(ICatalogViewModelService catalogViewModelService) { this._catalogViewModelService = catalogViewModelService; }
public IndexModel(ICatalogViewModelService catalogViewModelService, IAsyncRepository <CatalogType> typeRepository) { this.typeRepository = typeRepository; _catalogViewModelService = catalogViewModelService; }
public NewItems(IHomeViewModelService homeViewModelService, ICatalogViewModelService catalogViewModelService) { _homeViewModelService = homeViewModelService; _catalogViewModelService = catalogViewModelService; }
public ManufacturerNavigationViewComponent(ICatalogViewModelService catalogViewModelService, CatalogSettings catalogSettings) { this._catalogViewModelService = catalogViewModelService; this._catalogSettings = catalogSettings; }
public HomePageManufacturersViewComponent(ICatalogViewModelService catalogViewModelService) { this._catalogViewModelService = catalogViewModelService; }
public VendorNavigationViewComponent(ICatalogViewModelService catalogViewModelService, VendorSettings vendorSettings) { _catalogViewModelService = catalogViewModelService; _vendorSettings = vendorSettings; }
public CatalogController(ICatalogViewModelService catalogViewModelService, IAsyncRepository <CatalogType> typeRepository) { _typeRepository = typeRepository; _catalogViewModelService = catalogViewModelService; }
public IndexPdfModel(ICatalogViewModelService catalogViewModelService, IMemoryCache cache) { _catalogViewModelService = catalogViewModelService; _cache = cache; }
public TopMenuViewComponent(ICatalogViewModelService catalogViewModelService) { this._catalogViewModelService = catalogViewModelService; }
public TopSelling(IHomeViewModelService homeViewModelService, ICatalogViewModelService catalogViewModelService) { _homeViewModelService = homeViewModelService; _catalogViewModelService = catalogViewModelService; }
public PopularProductTagsViewComponent(ICatalogViewModelService catalogViewModelService) { this._catalogViewModelService = catalogViewModelService; }
public IndexModel(ICatalogViewModelService catalogViewModelService) { _catalogViewModelService = catalogViewModelService; }
public PdfController(IViewRenderService viewRenderService, ICatalogViewModelService catalogViewModelService, IConfiguration configuration) { _viewRenderService = viewRenderService; _catalogViewModelService = catalogViewModelService; _configuration = configuration; }