public ProductsController(IProductService productService, IEsProductService eSProductService, IWsMapper mapper) { _productService = productService; _eSProductService = eSProductService; _mapper = mapper; }
public EsProductService(IEsProductRepository esProductRepository, IWsMapper mapper) { _esProductRepository = esProductRepository ?? throw new ArgumentNullException(nameof(esProductRepository)); _mapper = mapper; }
public ProductService(IProductRepository productRepository, IWsMapper mapper) : base(productRepository, mapper) { }
internal BaseService(IBaseRepository <TEntity> repository, IWsMapper mapper) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }