Exemple #1
0
        public void Dispose()
        {
            if (DbContext != null)
            {
                DbContext.Dispose();
                DbContext = null;
            }

            _criptografiaService = null;
            _emailSmtpService    = null;
        }
Exemple #2
0
 public UsuarioService()
 {
     _criptografiaService = new CriptografiaService();
     _emailSmtpService    = new EmailSmtpService();
 }