public int updateAuthor(Capstone.DTO.AuthorDTO author) { AuthorDAO dao = new AuthorDAO(); return dao.updateAuthor(author); }
public AuthorDTO getAuthorById(int authorId) { AuthorDAO dao = new AuthorDAO(); return dao.getAuthorById(authorId); }
public int insertAuthor(AuthorDTO author) { AuthorDAO dao = new AuthorDAO(); return dao.insertAuthor(author); }
public int deleteAuthor(AuthorDTO author) { AuthorDAO dao = new AuthorDAO(); return dao.deleteAuthor(author); }