コード例 #1
0
        public JsonpResult CreateLookup(string appid, string lookupname, string description, bool isCore)
        {
            string clientid = Request.Params["clientkey"];
            var    a        = new Tz.App.AppManager(clientid, appid);
            var    lok      = a.NewLookup();

            lok.Name        = lookupname;
            lok.Description = description;
            lok.IsCore      = isCore;
            return(new JsonpResult(a.SaveLookup(lok)));
        }