Пример #1
0
 public CompanyService(ApplicationDb dbContext, IBrowsingContextService browsingContextService,
                       IBackgroundTaskQueue <ProductData> taskQueue, ILogger <CompanyService> logger)
 {
     _dbContext = dbContext;
     _browsingContextService = browsingContextService;
     TaskQueue = taskQueue;
     _logger   = logger;
 }
Пример #2
0
 public CompanyController(ICompanyService companyService,
                          IBrowsingContextService browsingContextService, ILogger <CompanyController> logger,
                          IBackgroundTaskQueue <CompanyData> taskQueue, ICompanyRepository companyRepository,
                          IProductRepository productRepository)
 {
     _companyService         = companyService;
     _browsingContextService = browsingContextService;
     _logger            = logger;
     _companyRepository = companyRepository;
     _productRepository = productRepository;
     TaskQueue          = taskQueue;
 }
Пример #3
0
 public ProductService(ApplicationDb dbContext, IBrowsingContextService browsingContextService)
 {
     _dbContext = dbContext;
     _browsingContextService = browsingContextService;
 }