private void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { dbContext.Dispose(); } } this.disposed = true; }
public void Dispose() { _db.Dispose(); }
private void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { dbContext.Dispose(); } } this.disposed = true; }
public void Dispose() { _db.Dispose(); }