protected override void Dispose(bool disposing)
 {
     if (disposing && _userManager != null)
     {
         _userManager.Dispose();
         _userManager = null;
     }
     base.Dispose(disposing);
 }
 public AccountController(NETUserManager userManager,
                          ISecureDataFormat <AuthenticationTicket> accessTokenFormat)
 {
     UserManager       = userManager;
     AccessTokenFormat = accessTokenFormat;
 }