示例#1
0
        public static bool UpBookType(string jsonStr)
        {
            BookType bt = null;

            try
            {
                JavaScriptSerializer js = new JavaScriptSerializer();
                bt = js.Deserialize <BookType>(jsonStr);
                return(bt != null?BookCatologManger.UpbookType(bt) : false);

                //return bt;
            }
            catch (Exception)
            {
                return(false);
                //return bt;
            }
        }