public int shipCount() { int count = 0; adminDA admin = new adminDA(); count = admin.shipCount(); return count; }
public int add_Book(string bookName, string bookType, string bookClass1, string bookClass2, string bookAuthor, string bookPublisher, DateTime bookDate, string bookISBN, string bookBinding, string bookLanguage, string bookPrice, string bookAmonet, string bookIntroduction, string bookContent, string bookImage) { int count = 0; adminDA da = new adminDA(); count = da.add_Book(bookName, bookType, bookClass1, bookClass2, bookAuthor, bookPublisher, bookDate, bookISBN, bookBinding, bookLanguage, bookPrice, bookAmonet, bookIntroduction, bookContent, bookImage); return count; }
public DataTable bookNameSel(string bookName) { adminDA admin = new adminDA(); return admin.bookNameSel(bookName); }
public DataTable Del(string id) { adminDA admin = new adminDA(); return admin.Del(id); }
public DataTable orderpay(bool pay) { adminDA admin = new adminDA(); return admin.orderpay(pay); }
public int UpdateOrder(string orderID, bool pay, bool ship) { adminDA admin = new adminDA(); return admin.UpdateOrder(orderID, pay, ship); }
public DataTable orderSel() { adminDA admin = new adminDA(); return admin.orderSel(); }
public DataTable memSelUsername(string username) { adminDA admin = new adminDA(); return admin.memSelUsername(username); }
public DataTable bookDetaile(string bookID) { adminDA admin = new adminDA(); return admin.bookDetaile(bookID); }
public int admin_login(string account, string password) { adminDA admin = new adminDA(); return admin.admin_login(account, password); }
public int admin_add(string account, string password, string name, int level) { adminDA admin = new adminDA(); return admin.admin_add(account, password, name, level); }
public int memCount() { adminDA admin = new adminDA(); return admin.memCount(); }
public int bookAmountsCount() { adminDA admin = new adminDA(); return admin.bookAmountsCount(); }
public DataTable messageSel(DateTime time1, DateTime time2) { adminDA admin = new adminDA(); return admin.messageSel(time1, time2); }
public DataTable bookAmountSel(int amount) { adminDA admin = new adminDA(); return admin.bookAmountSel(amount); }
public DataTable bookISBNSel(string ISBN) { adminDA admin = new adminDA(); return admin.bookISBNSel(ISBN); }
public int bookDel(string bookID) { adminDA admin = new adminDA(); return admin.bookDel(bookID); }
public DataTable memSel() { adminDA admin = new adminDA(); return admin.memSel(); }
public int Update_book(string ID, string Name, string Author, string Publisher, DateTime Date, string ISBN, string Binding, string Language, string Price, string Amonet, string Introduction, string Content, string Image) { adminDA admin = new adminDA(); return admin.Update_book(ID, Name, Author, Publisher, Date, ISBN, Binding, Language, Price, Amonet, Introduction, Content, Image); }
public DataTable memSelName(string name) { adminDA admin = new adminDA(); return admin.memSelName(name); }
public DataTable adminSel() { adminDA admin = new adminDA(); return admin.adminSel(); }
public DataTable orderDetaile(string orderID) { adminDA admin = new adminDA(); return admin.orderDetaile(orderID); }
public int admin_Del(string id) { adminDA admin = new adminDA(); return admin.admin_Del(id); }
public DataTable memDate(string mID) { adminDA admin = new adminDA(); return admin.memDate(mID); }
public DataTable bookAll() { adminDA admin = new adminDA(); return admin.bookAll(); }
public DataTable ordership(bool ship) { adminDA admin = new adminDA(); return admin.ordership(ship); }
public int messageInsert(string type, string title, string messager, string content) { adminDA admin = new adminDA(); return admin.messageInsert(type, title, messager, content); }