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