Exemplo n.º 1
0
 public void add(Models.Book book)
 {
     using (BookLibrary dc = new BookLibrary(connectionString, mapping))
     {
         dc.addBook(book.id, book.name, book.authorId, book.categoryId);
     }
 }