public T Get <T>(Guid id)
        {
            using (var client = new RedisClient())
            {
                var typedClient = client.As <T>();

                return(typedClient.GetById(id));
            }
        }
        public void Set <T>(T value)
        {
            using (var client = new RedisClient())
            {
                var typedClient = client.As <T>();

                typedClient.Store(value);
            }
        }
        public IEnumerable <T> GetAll <T>()
        {
            using (var client = new RedisClient())
            {
                var typedClient = client.As <T>();

                return(typedClient.GetAll());
            }
        }