public CategoryService(ILogger <CategoryService> logger, IUnitOfWork unitOfWork, IMapper mapper, IOptions <InfoServerConfig> optionAccessor) { _logger = logger; _unitOfWorfk = unitOfWork; _mapper = mapper; _infoServerConfig = optionAccessor.Value; }
public ProductService(ILogger <ProductService> logger, IUnitOfWork unitOfWork, IMapper mapper , ICategoryService categoryService , IAreaService areaService , IOptions <InfoServerConfig> optionAccessor) { _logger = logger; _unitOfWorfk = unitOfWork; _mapper = mapper; _categoryService = categoryService; _areaService = areaService; _infoServerConfig = optionAccessor.Value; }