コード例 #1
0
        public static string View()
        {
            bookManage bookmanage = new bookManage();
            DataTable  result     = bookmanage.showbooks();

            return(GetJSONString(result));
        }
コード例 #2
0
        public static string getBytype(string type)
        {
            bookManage bookmanage = new bookManage();
            DataTable  result     = bookmanage.getBytype(type);

            if (result == null)
            {
                return("0");
            }
            else
            {
                return(GetJSONString(result));
            }
        }
コード例 #3
0
        public static string showDetails(string bookID)
        {
            bookManage bookmanage = new bookManage();

            return(GetJSONString(bookmanage.showDetails(bookID)));
        }