Esempio n. 1
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (_userManager != null)
                {
                    _userManager.Dispose();
                    _userManager = null;
                }

                if (_signInManager != null)
                {
                    _signInManager.Dispose();
                    _signInManager = null;
                }

                if (usuarioService != null)
                {
                    usuarioService.Dispose();
                }
            }

            base.Dispose(disposing);
        }
Esempio n. 2
0
 public AccountController(BitUserManager userManager, BitSignInManager signInManager)
 {
     UserManager   = userManager;
     SignInManager = signInManager;
 }