public GetOrdersByFilterQueryHandler(
     IOrderQueryRepository orderRepository,
     IProductQueryRepository productRepository,
     IServiceMethodQueryRepository serviceRepository)
 {
     _orderRepository         = orderRepository ?? throw new ArgumentNullException(nameof(orderRepository));
     _productRepository       = productRepository ?? throw new ArgumentNullException(nameof(productRepository));
     _serviceMethodRepository = serviceRepository ?? throw new ArgumentNullException(nameof(serviceRepository));
 }
示例#2
0
 public GetServiceMethodsQueryHandler(IServiceMethodQueryRepository serviceMethodQueryRepository)
 {
     _serviceMethodQueryRepository = serviceMethodQueryRepository ?? throw new ArgumentNullException(nameof(serviceMethodQueryRepository));
 }