public TestReportController(ILogger <TestReportController> logger,
                             ITestReportService testReportService,
                             ITestReportFactory testReportFactory,
                             IMapper <TestReport, TestReportDto> testReportMapper)
 {
     _testReportMapper  = testReportMapper;
     _testReportFactory = testReportFactory;
     _testReportService = testReportService;
     _logger            = logger;
 }
Exemple #2
0
 public TestReportsController(ITestReportService service, IConfiguration config)
 {
     _service  = service;
     accessKey = "AKIAQUIYJ2BUI2SWRQHH";                     // config.GetSection("AWSSDK:access_key").Value;
     secretKey = "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"; // config.GetSection("AWSSDK:secret_key").Value;
 }