Changes in Prototype Application/Paw5/src/main/java/finki/paw5/service/PetService.java [a762b3a:4103eaa]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Prototype Application/Paw5/src/main/java/finki/paw5/service/PetService.java
ra762b3a r4103eaa 2 2 3 3 import finki.paw5.model.entities.Pet; 4 import finki.paw5.web.controllers.PostController;5 4 6 5 import java.util.List; 7 import java.util.Optional;8 6 9 7 public interface PetService { … … 11 9 void save (Pet pet); 12 10 13 List<Pet> findAll();11 List<Pet> listpets(); 14 12 15 Optional<Pet> findById(Integer petId);13 Pet findById(Integer id); 16 14 }
Note:
See TracChangeset
for help on using the changeset viewer.