Example #1
0
        public List <LibraryCategory> LibraryCategories()
        {
            BooksDBContext bkDBContext = new BooksDBContext();

            return(bkDBContext.LibraryCategories.ToList());
        }
Example #2
0
        public List <LibraryBooks> LibraryBooks()
        {
            BooksDBContext bkDBContext = new BooksDBContext();

            return(bkDBContext.LibraryBooks.ToList());
        }