Example #1
0
 public void updateContact(ClubContact clubContact) {
   ClubContactDao dao = (ClubContactDao) UnitOfWork.get().getDao(ClubContact.class);
   dao.update(clubContact);
 }
Example #2
0
 public void addContact(ClubContact clubContact) {
   ClubContactDao dao = (ClubContactDao) UnitOfWork.get().getDao(ClubContact.class);
   dao.insert(clubContact);
 }