public void AddCacheStartsWithToClear(string _cachekey) { if (transaction != null) { cacheStartsWithToClear.Add(_cachekey); } else { _cacheService.ClearStartsWith(_cachekey); } }