public HomeApiController( ILoggerFactory factory, IWidgetInstanceService widgetInstanceService, IRepository <Category> categoriesRepository, IMediaService mediaService, IRepository <Product> productRepository, IProductPricingService productPricingService, ICategoryService categoryService, IRepository <ProductCategory> productCategoryRepository) { _logger = factory.CreateLogger("Unhandled Error"); _widgetInstanceService = widgetInstanceService; _categoriesRepository = categoriesRepository; _mediaService = mediaService; _productRepository = productRepository; _productPricingService = productPricingService; _categoryService = categoryService; _productCategoryRepository = productCategoryRepository; }
public HomeController(ILoggerFactory factory, IWidgetInstanceService widgetInstanceService) { _logger = factory.CreateLogger("Unhandled Error"); _widgetInstanceService = widgetInstanceService; }
public HomeController(ILoggerFactory factory, IWidgetInstanceService widgetInstanceService, IContentLocalizationService contentLocalizationService) { _logger = factory.CreateLogger("Unhandled Error"); _widgetInstanceService = widgetInstanceService; _contentLocalizationService = contentLocalizationService; }
public HomeController(IWebHostEnvironment env, ILoggerFactory factory, IWidgetInstanceService widgetInstanceService) { _env = env; _logger = factory.CreateLogger("Unhandled Error"); _widgetInstanceService = widgetInstanceService; }
public HomeController(IWidgetInstanceService widgetInstanceService) { _widgetInstanceService = widgetInstanceService; }