Exemplo n.º 1
0
 public void add(Models.Category category)
 {
     using (BookLibrary dc = new BookLibrary(connectionString, mapping))
     {
         dc.addCategory(category.Id, category.name, category.description);
     }
 }