예제 #1
0
        public async Task <ServiceResponse> ExpireKey(string key, int seconds)
        {
            var redis  = new RedisService <string>(Factory);
            var values = await redis.ExpireKey(key, new TimeSpan(0, 0, seconds));

            return(values);
        }