public DbQueryProcessor(IRepository <TOut> repository, IQueryProcessorRegistry queryProcessorRegistry) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); _queryProcessorRegistry = queryProcessorRegistry ?? throw new ArgumentNullException(nameof(queryProcessorRegistry)); }
public AccountDbQueryProcessor(IRepository <AccountDto> repository, IQueryProcessorRegistry queryProcessorRegistry) : base(repository, queryProcessorRegistry) { }
public AccountsController(IQueryProcessorRegistry queryProcessorRegistry) { _queryProcessorRegistry = queryProcessorRegistry ?? throw new ArgumentNullException(nameof(queryProcessorRegistry)); }