コード例 #1
0
        //Check if book is reserved from TabReserved with UID and ISBN
        public List <TabReservedModel> CheckBooksReserved(int UID, string ISBN)
        {
            List <TabReservedModel> _books = new List <TabReservedModel>();

            _tabReservedTable = _bookDao.CheckBookReserved(UID, ISBN);

            foreach (DataSet1.TabReservedRow booksRow in _tabReservedTable.Rows)
            {
                TabReservedModel tempRow = TabReservedModel.Parse(booksRow);
                _books.Add(tempRow);
            }

            return(_books);
        }