public void Add(T item, string[] tags) { if (tags == null || tags.Length == 0) { Add(item); return; } _cacheProvider.AddToSet <T>(RedisKey, item, tags); }