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)); }
public GetServiceMethodsQueryHandler(IServiceMethodQueryRepository serviceMethodQueryRepository) { _serviceMethodQueryRepository = serviceMethodQueryRepository ?? throw new ArgumentNullException(nameof(serviceMethodQueryRepository)); }