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

            base.Dispose(disposing);
        }
Exemple #2
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (AplicationUserService != null)
                {
                    AplicationUserService.Dispose();
                    AplicationUserService = null;
                }

                if (AplicationSignInService != null)
                {
                    AplicationSignInService.Dispose();
                    AplicationSignInService = null;
                }
            }

            base.Dispose(disposing);
        }