Пример #1
0
 public void deleteSurname(Long id) throws Exception {
   dao.delete(id, SurnameEntity.class);
 }
Пример #2
0
 public SurnameEntity readSurname(Long id) throws Exception {
   return dao.read(id);
 }
Пример #3
0
 public void updateSurname(SurnameEntity surname) throws Exception {
   dao.update(surname);
 }
Пример #4
0
 public void createSurname(SurnameEntity surname) throws Exception {
   dao.create(surname);
 }