private void InvalidCache(Guid id) { string cacheKey = BuildCacheKey(id); string cacheMasterKey = BuildCacheMasterKey(); _cache.Remove(cacheKey); _cache.Remove(cacheMasterKey); }
public void RemoveUser(string userId) { try { _cache.Remove(GetUserKey(userId)); } catch (Exception) { throw; } }