示例#1
0
 public CategoryService(ILogger <CategoryService> logger, IUnitOfWork unitOfWork, IMapper mapper, IOptions <InfoServerConfig> optionAccessor)
 {
     _logger           = logger;
     _unitOfWorfk      = unitOfWork;
     _mapper           = mapper;
     _infoServerConfig = optionAccessor.Value;
 }
示例#2
0
 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;
 }