Root/
| 1 | package info.ahlberg.spring.service; |
| 2 | |
| 3 | import java.util.List; |
| 4 | |
| 5 | import info.ahlberg.spring.domain.Contact; |
| 6 | |
| 7 | public interface ContactService { |
| 8 | |
| 9 | List<Contact> findAll(); |
| 10 | |
| 11 | Contact findById(Long id); |
| 12 | |
| 13 | void save(Contact contact); |
| 14 | |
| 15 | void update(Contact contact); |
| 16 | |
| 17 | } |
| 18 |
