Exemple #1
0
        public ActionResult AddSecondModule(string id, string title, string content, string text)
        {
            JObject obj = new JObject();

            obj["title"]   = title;
            obj["content"] = content;
            obj["text"]    = text;
            api.AddSecondModule(obj);
            return(RedirectToAction("SecondModule"));
        }