public string TestRedis(string key) { if (!string.IsNullOrWhiteSpace(key)) { if (redisManager_.IsExits(key)) { string value = redisManager_.GetTEntity <string>(key); return(value); } else { redisManager_.Set(key, "set_" + key, TimeSpan.FromSeconds(90)); return("push " + key); } } else { return("key is null"); } }