public static int cancelbooking(int bookid) { myDAL obj = new myDAL(); return(obj.cancelbooking(bookid, id)); }