public ProductService(IReadonlyProductRepository readonlyProductRepository, IWriteonlyProductRepository writeonlyProductRepository)
 {
     _readonlyProductRepository  = readonlyProductRepository;
     _writeonlyProductRepository = writeonlyProductRepository;
 }
Beispiel #2
0
 public ProductQueryHandler(IMapper mapper, IReadonlyProductRepository readonlyProductRepository, IWriteonlyProductRepository writeonlyProductRepository)
 {
     _mapper = mapper;
     _readonlyProductRepository  = readonlyProductRepository;
     _writeonlyProductRepository = writeonlyProductRepository;
 }