示例#1
0
 public ProductOrderController(ProductOrderRepository repository)
 {
     _productOrderRepository = new ProductOrderRepository();
     _validator = new CreateProductRequestValidator();
 }
示例#2
0
 public ProductController(ProductRepository repository)
 {
     _repository = repository;
     _validator  = new CreateProductRequestValidator();
 }