Esempio n. 1
0
 public ProductService(IReadonlyProductRepository readonlyProductRepository, IWriteonlyProductRepository writeonlyProductRepository)
 {
     _readonlyProductRepository  = readonlyProductRepository;
     _writeonlyProductRepository = writeonlyProductRepository;
 }
Esempio n. 2
0
 public ProductQueryHandler(IMapper mapper, IReadonlyProductRepository readonlyProductRepository, IWriteonlyProductRepository writeonlyProductRepository)
 {
     _mapper = mapper;
     _readonlyProductRepository  = readonlyProductRepository;
     _writeonlyProductRepository = writeonlyProductRepository;
 }