Ejemplo n.º 1
0
 public AuditTrialsController(IAuditTrialRepository auditTrialRepository,
                              IOptions <AppSettings> appSettings,
                              ILogger <AuditTrialsController> log)
 {
     _auditTrialRepository = auditTrialRepository;
     _appSettings          = appSettings.Value;
     _log = log;
 }
Ejemplo n.º 2
0
 public AuditTrialService(IOptions <AppSettings> appSettings,
                          ILogger <AuditTrialService> log,
                          IAuditTrialRepository auditTrialRepository,
                          IHttpContextAccessor httpContextAccessor)
 {
     _auditTrialRepository = auditTrialRepository;
     _appSettings          = appSettings.Value;
     _log = log;
     _httpContextAccessor = httpContextAccessor;
 }