protected override void Dispose(bool disposing) { if (disposing) { if (_userManager != null) { _userManager.Dispose(); _userManager = null; } if (_signInManager != null) { _signInManager.Dispose(); _signInManager = null; } } base.Dispose(disposing); }
public AccountController(PMSUserManager userManager, PMSSignInManager signInManager) { UserManager = userManager; SignInManager = signInManager; }
public RolesController(PMSUserManager userManager, PMSSignInManager signInManager, PMSRoleManager roleManager) { UserManager = userManager; SignInManager = signInManager; RoleManager = roleManager; }