Example #1
0
 protected void Dispose(bool disposing)
 {
     if (_Disposed)
     {
         return;
     }
     if (disposing)
     {
         _UnitOfWork.Dispose();
     }
     _Disposed = true;
 }
Example #2
0
        protected virtual void Dispose(bool disposing)
        {
            if (_Disposed)
            {
                return;
            }
            if (disposing)
            {
                _UserManager.Dispose();
                _UnitOfWork.Dispose();
            }

            _Disposed = true;
        }
Example #3
0
        protected override void Dispose(bool disposing)
        {
            if (_Disposed)
            {
                return;
            }

            if (disposing)
            {
                _UnitOfWork.Dispose();
            }
            base.Dispose(disposing);

            _Disposed = true;
        }