public int deleteBook(string code)
        {
            CntClsBook cnt_book = new CntClsBook();

            return(cnt_book.deleteBook(code));
        }
        public List <EntClsBook> listBook()
        {
            CntClsBook cnt_book = new CntClsBook();

            return(cnt_book.listBook());
        }
        public int updateBook(string code, string isbn, string name, string datePublish, int idEdit, int idCateg, string stateB, int stock)
        {
            CntClsBook cnt_book = new CntClsBook();

            return(cnt_book.updateBook(code, isbn, name, datePublish, idEdit, idCateg, stateB, stock));
        }
        public EntClsBook SearchBook(string code)
        {
            CntClsBook cnt_book = new CntClsBook();

            return(cnt_book.SearchBook(code));
        }
        public EntClsBook checkBook2(string name)
        {
            CntClsBook dtLibro = new CntClsBook();

            return(dtLibro.CheckBook2(name));
        }
        public int insertBook(string name, string code, string isbn, string datePublish, int stock, int idCateg, int idEdit, string state, int idAdmin)
        {
            CntClsBook cnt_book = new CntClsBook();

            return(cnt_book.insertBook(name, code, isbn, datePublish, stock, idCateg, idEdit, state, idAdmin));
        }
Exemple #7
0
        public int updateStateB(string code, int stock)
        {
            CntClsBook cnt_book = new CntClsBook();

            return(cnt_book.updateStateB(code, stock));
        }