예제 #1
0
 public int Add(Book.Model.T_Base_Book book)
 {
     Book.DAL.T_Base_Book dal = new DAL.T_Base_Book();
     //用DAL层提供的添加方法添加
     dal.Add(book);
     return(0);
 }
예제 #2
0
        public int Add(Book.Model.T_Base_Book book)
        {
            int result = 0;

            Book.DAL.T_Base_Book dal = new DAL.T_Base_Book();
            result = dal.Add(book);
            return(result);
        }