protected override void Dispose(bool disposing)
        {
            if (disposing && _userManager != null)
            {
                _userManager.Dispose();
                _userManager = null;
            }

            base.Dispose(disposing);
        }
        protected override void Dispose(bool disposing)
        {
            if (disposing && _userManager != null)
            {
                _userManager.Dispose();
                _userManager = null;
            }

            base.Dispose(disposing);
        }
 public AccountController(AppStoreUserManager userManager,
                          ISecureDataFormat <AuthenticationTicket> accessTokenFormat)
 {
     UserManager       = userManager;
     AccessTokenFormat = accessTokenFormat;
 }
 public AccountController(AppStoreUserManager userManager,
     ISecureDataFormat<AuthenticationTicket> accessTokenFormat)
 {
     UserManager = userManager;
     AccessTokenFormat = accessTokenFormat;
 }