protected override void Dispose(bool disposing) { if (disposing && UserManager != null) { UserManager.Dispose(); UserManager = null; } base.Dispose(disposing); }
public AccountController(UserManager<ApplicationUser> userManager) { UserManager = userManager; }