public HomeController(IHealthCheckUtility healthCheckUtility, IInfrastructureLogService infrastructureLogService, IConfigurationService configurationService) { _healthCheckUtility = healthCheckUtility; _infrastructureLogService = infrastructureLogService; _configurationService = configurationService; _releaseName = _configurationService.ConfigurationSettings.ReleaseName; }
public async Task InitAsync() { var optionsBuilder = new DbContextOptionsBuilder <EFInfrastructureLogRepository>(); optionsBuilder.UseSqlite("DataSource=:memory:"); _infrastructureLogRepository = new EFInfrastructureLogRepository(optionsBuilder.Options); await _infrastructureLogRepository.Database.OpenConnectionAsync().ConfigureAwait(false); await _infrastructureLogRepository.Database.EnsureCreatedAsync().ConfigureAwait(false); _infrastructureLogService = new InfrastructureLogService(_infrastructureLogRepository); }
public LoanSubmissionController(IInfrastructureLogService infrastructureLogService, IConfigurationService configurationService) { _infrastructureLogService = infrastructureLogService; _configurationService = configurationService; _releaseName = _configurationService.ConfigurationSettings.ReleaseName; }
public InfrastructureLogsController(IInfrastructureLogService infrastructureLogService, IClientService clientService) { _infrastructureLogService = infrastructureLogService; }
public OrderHistoryController(IInfrastructureLogService infrastructureLogService, IConfigurationService configurationService) { _infrastructureLogService = infrastructureLogService; _configurationService = configurationService; _releaseName = _configurationService.ConfigurationSettings.ReleaseName; }