Ejemplo n.º 1
0
 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)
 {
 }
Ejemplo n.º 4
0
 internal BaseService(IBaseRepository <TEntity> repository, IWsMapper mapper)
 {
     _repository = repository ?? throw new ArgumentNullException(nameof(repository));
     _mapper     = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }