Ejemplo n.º 1
0
 public DemoController(IDefraAuthenticationService defraAuthenticationService, IExportHealthCertificatesService exportHealthCertificatesService, IReferenceDataService referenceDataService)
 {
     _defraAuthenticationService = defraAuthenticationService;
     _exportHealthCertificate    = exportHealthCertificatesService;
     _referenceDataService       = referenceDataService;
 }
 public ExportHealthCertificatesService(IConfiguration configuration, IDefraAuthenticationService defraAuthenticationService)
 {
     _defraAuthenticationService = defraAuthenticationService;
     defraTradeApiGateway        = configuration.GetSection("DefraTradeGateway").Value;
 }
 public ReferenceDataService(IConfiguration configuration, IDefraAuthenticationService defraAuthenticationService)
 {
     _defraAuthenticationService = defraAuthenticationService;
     defraTradeApiGateway        = configuration.GetSection("DefraTradeGateway").Value;
 }