public void add(Models.Author author) { using (BookLibrary dc = new BookLibrary(connectionString, mapping)) { dc.addAuthor(author.Id, author.name); } }