BookBusiness.cs
上传用户:gooyliu
上传日期:2018-09-29
资源大小:5816k
文件大小:1k
- using System;
- using System.Collections.Generic;
- using System.Text;
- using System.Data;
- using System.Data.SqlClient;
- using DataAccessLayer;
- namespace BusinessLogicLayer
- {
- public class BookBusiness
- {
-
- DataAccessLayer.BookBusiness bb = new DataAccessLayer.BookBusiness();
-
- public int CheckBookByID(string bookID)
- {
-
- return bb.CheckBookByID(bookID);
- }
- public static int LendBook(string readerID, string bookID)
- {
- int val = DataAccessLayer.BookBusiness.LendBook(readerID, bookID);
- return val;
- }
- public int ReturnBook(string bookID)
- {
- return bb.ReturnBook(bookID);
-
- }
- }
- }