public HomeController( ClaimsBasedAuthenticationService claimsBasedAuthenticationService, UserAccountService userAccountService) { this.claimsBasedAuthenticationService = claimsBasedAuthenticationService; this.userAccountService = userAccountService; }
protected override void Dispose(bool disposing) { if (disposing) { this.claimsBasedAuthenticationService.TryDispose(); this.claimsBasedAuthenticationService = null; this.userAccountService.TryDispose(); this.userAccountService = null; } base.Dispose(disposing); }