source: Prototype Application/Paw5/src/main/java/finki/paw5/service/PetService.java@ a762b3a

main
Last change on this file since a762b3a was a762b3a, checked in by SazdovaEkaterina <sazdovaekaterina@…>, 17 months ago

adoption posts list + pet details page

  • Property mode set to 100644
File size: 297 bytes
Line 
1package finki.paw5.service;
2
3import finki.paw5.model.entities.Pet;
4import finki.paw5.web.controllers.PostController;
5
6import java.util.List;
7import java.util.Optional;
8
9public interface PetService {
10
11 void save (Pet pet);
12
13 List<Pet> findAll();
14
15 Optional<Pet> findById(Integer petId);
16}
Note: See TracBrowser for help on using the repository browser.