protected virtual void Dispose(bool disposing) { if (!this.dis) { if (disposing) { bookContext.Dispose(); } } }
protected virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { _context.Dispose(); } } this.disposed = true; }
protected virtual void Dispose(bool disposing) { if (!this.dis) { if (disposing) { bookContext.Dispose(); } } }
protected virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { _context.Dispose(); } } this.disposed = true; }