예제 #1
0
        public static bool DeleteBookCase(string jsonStr)
        {
            BookCase bc = null;

            try
            {
                JavaScriptSerializer js = new JavaScriptSerializer();
                bc = js.Deserialize <BookCase>(jsonStr);
                return(bc != null?BookCatologManger.DeletebookCase(bc) : false);

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