public ReunionController(IMediator mediator, IImpresionLog impresionLog, IHeaderConfiguration headerConfiguration, IConsolidadoIntermediarioQueries consolidadoIntermediarioQueries) { _mediator = mediator ?? throw new ArgumentNullException(nameof(mediator)); _impresionLog = impresionLog ?? throw new ArgumentNullException(nameof(impresionLog)); _headerConfiguration = headerConfiguration ?? throw new ArgumentNullException(nameof(headerConfiguration)); _consolidadoIntermediarioQueries = consolidadoIntermediarioQueries ?? throw new ArgumentNullException(nameof(consolidadoIntermediarioQueries)); }
public ProspectoController(IMediator mediator, IConsolidadoIntermediarioQueries consolidadoIntermediarioQueries, IProspectoQueries prospectoQueries, IGeneralesQueries generalesQueries, ILogger <ProspectoController> logger, IImpresionLog impresionLog, IHeaderConfiguration headerConfiguration) { _mediator = mediator ?? throw new ArgumentNullException(nameof(mediator)); _consolidadoIntermediarioQueries = consolidadoIntermediarioQueries ?? throw new ArgumentNullException(nameof(consolidadoIntermediarioQueries)); _prospectoQueries = prospectoQueries ?? throw new ArgumentNullException(nameof(prospectoQueries)); _generalesQueries = generalesQueries ?? throw new ArgumentNullException(nameof(generalesQueries)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _impresionLog = impresionLog ?? throw new ArgumentNullException(nameof(impresionLog)); _headerConfiguration = headerConfiguration ?? throw new ArgumentNullException(nameof(headerConfiguration)); }