Exemplo n.º 1
0
 public BPasswordRecovery(SIEContext context, IConfiguration configuration = null)
 {
     _context           = context;
     _uPasswordRecovery = new UPasswordRecovery(context);
     if (configuration != null)
     {
         _sEmail = new EmailService(configuration);
     }
 }
Exemplo n.º 2
0
        public PersonController(SIEContext context, IConfiguration configuration)
        {
            _bHistory          = new BHistory(context);
            _bPerson           = new BPerson(context);
            _bPasswordRecovery = new BPasswordRecovery(context, configuration);
            _bInstitution      = new BInstitution(context);
            _uPerson           = new UPerson(context);
            _uRecoveryPassword = new UPasswordRecovery(context);
            _uInstitution      = new UInstitution(context);

            _configuration = configuration;
        }