public static string View() { bookManage bookmanage = new bookManage(); DataTable result = bookmanage.showbooks(); return(GetJSONString(result)); }
public static string getBytype(string type) { bookManage bookmanage = new bookManage(); DataTable result = bookmanage.getBytype(type); if (result == null) { return("0"); } else { return(GetJSONString(result)); } }
public static string showDetails(string bookID) { bookManage bookmanage = new bookManage(); return(GetJSONString(bookmanage.showDetails(bookID))); }