public SearchModel(IConfiguration configuration, IHttpContextAccessor contextAccessor, ILogger <SearchModel> logger, ILdapService ldapService, ITokenService tokenService, IGpConnectQueryExecutionService queryExecutionService, IApplicationService applicationService, IAuditService auditService, ILoggerManager loggerManager = null) { _configuration = configuration; _contextAccessor = contextAccessor; _logger = logger; _ldapService = ldapService; _tokenService = tokenService; _queryExecutionService = queryExecutionService; _applicationService = applicationService; _auditService = auditService; if (null != loggerManager) { _loggerManager = loggerManager; } }
public SearchDetailModel(IOptionsMonitor <General> configuration, IHttpContextAccessor contextAccessor, ILogger <SearchDetailModel> logger, ILdapService ldapService, ITokenService tokenService, IGpConnectQueryExecutionService queryExecutionService, IApplicationService applicationService, IAuditService auditService, IReportingService reportingService, ILoggerManager loggerManager = null) : base(configuration, contextAccessor, reportingService) { _configuration = configuration; _contextAccessor = contextAccessor; _logger = logger; _ldapService = ldapService; _tokenService = tokenService; _queryExecutionService = queryExecutionService; _applicationService = applicationService; _auditService = auditService; _reportingService = reportingService; if (null != loggerManager) { _loggerManager = loggerManager; } }