protected virtual void Dispose(bool disposing) { if (disposing) { if (dbContext != null) { dbContext.Dispose(); dbContext = null; } } }