public InitializeCheck(IServiceProvider serviceProvider, IMapper mapper, IOptions <AppSettings> appSettings, ILogService logService, IStoreCatalogReadyService storeCatalogReadyService, ILessOfferService lessOfferService) { _mapper = mapper; _appSettings = appSettings.Value; _provider = serviceProvider; _logService = logService; _storeCatalogReadyService = storeCatalogReadyService; _lessOfferService = lessOfferService; }
public ProductsController(IProductsRepository productRepository, IStoreRepository storeRepository, IApiService apiService, IMapper mapper, IProductionRepository productionRepository, ILessOfferService lessOfferService, ILogService logService) { _apiService = apiService; _mapper = mapper; _productRepository = productRepository; _storeRepository = storeRepository; _productionRepository = productionRepository; _lessOfferService = lessOfferService; }