Beispiel #1
0
        /* Phương thức xóa đi một cuốn sách được đánh dấu mất trả về số dòng thực hiện được */
        public static int DelBook(DauSachDTO dauSach)
        {
            List <SachDTO> saches    = GetBooks(dauSach);
            int            indexlost = FindLostBookLastIndex(saches);

            if (indexlost != -1)
            {
                return(SachDAO.DeletBook(saches[indexlost]));
            }
            return(0);
        }