public Render FindWord(string word) { this.render = new Render(); byte[] translation = this.redisClient.HGet("word:" + word,RedisFormatParser.ToAsciiCharArray(word)); this.render.AppendTranslation(translation); return this.render; }
public Render ListWords() { this.render = new Render(); byte[][] listOfWords = this.redisClient.SMembers("words"); render.AppendWords(listOfWords); return this.render; }