Beispiel #1
0
 public UserService(IOptions <AppSettings> appSettings, ContextoParticular ctx,
                    ContextoGeneral ctG, IOptions <SmtpSettings> smtpSettings, IOptions <BedeliasAppSettings> bedelias)
 {
     _appSettings      = appSettings.Value;
     _context          = ctx;
     _contextoGeneral  = ctG;
     _smtpSettings     = smtpSettings.Value;
     _bedeliasSettings = bedelias.Value;
 }
Beispiel #2
0
 public CursoService(ContextoParticular ctx, IOptions <BedeliasAppSettings> bedelias)
 {
     _context          = ctx;
     _bedeliasSettings = bedelias.Value;
 }