public virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { db.Dispose(); } this.disposed = true; } }
public virtual void Dispose(bool disposing) { if (!this._disposed) { if (disposing) { _context.Dispose(); } this._disposed = true; } }
public virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { db.Dispose(); userManager.Dispose(); roleManager.Dispose(); clientManager.Dispose(); } this.disposed = true; } }