public Hashtable Put(int id, string content)
        {
            Hashtable ht   = new Hashtable();
            RuleInfo  ai   = new RuleInfo();
            Hashtable data = new Hashtable();

            try
            {
                // ht.Add("state", ai.AddOne(id, name, birthday, admin, work));
                if (ai.ChangeContext(id, content))
                {
                    ht.Add("code", 20000);
                    data.Add("id", id);
                }
                else
                {
                    ht.Add("code", 40000);
                    data.Add("message", "error");
                }
            }
            catch (Exception e)
            {
                ht.Add("code", 40000);
                data.Add("message", e.Message);
            }
            ht.Add("data", data);
            return(ht);
        }
        public Hashtable Post([FromBody] int id, [FromBody] string context)
        {
            Hashtable ht = new Hashtable();
            RuleInfo  ai = new RuleInfo();

            try
            {
                ht.Add("state", ai.ChangeContext(id, context));
            }
            catch (Exception e)
            {
                ht.Add("state", false);
                ht.Add("reason", e.Message);
            }
            return(ht);
        }