Пример #1
0
        public void Dispose()
        {
            if (DbContext != null)
            {
                DbContext.Dispose();
                DbContext = null;
            }

            _criptografiaService = null;
            _emailSmtpService    = null;
        }
Пример #2
0
 public UsuarioService()
 {
     _criptografiaService = new CriptografiaService();
     _emailSmtpService    = new EmailSmtpService();
 }