示例#1
0
 public List<News> findAll() {
   return newsDAO.findAll();
 }
示例#2
0
 public void save(News news) {
   newsDAO.save(news);
 }
示例#3
0
 public void delete(News news) {
   newsDAO.delete(news);
 }
示例#4
0
 public News findById(int id) {
   return newsDAO.findById(id);
 }