예제 #1
0
 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;
 }
예제 #2
0
 public HomeController(ILoggerFactory factory, IWidgetInstanceService widgetInstanceService)
 {
     _logger = factory.CreateLogger("Unhandled Error");
     _widgetInstanceService = widgetInstanceService;
 }
예제 #3
0
 public HomeController(ILoggerFactory factory, IWidgetInstanceService widgetInstanceService, IContentLocalizationService contentLocalizationService)
 {
     _logger = factory.CreateLogger("Unhandled Error");
     _widgetInstanceService      = widgetInstanceService;
     _contentLocalizationService = contentLocalizationService;
 }
예제 #4
0
 public HomeController(IWebHostEnvironment env, ILoggerFactory factory, IWidgetInstanceService widgetInstanceService)
 {
     _env    = env;
     _logger = factory.CreateLogger("Unhandled Error");
     _widgetInstanceService = widgetInstanceService;
 }
예제 #5
0
 public HomeController(IWidgetInstanceService widgetInstanceService)
 {
     _widgetInstanceService = widgetInstanceService;
 }