×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Andras Madi-Szabo
Added: May 19, 2020 10:53 AM
Modified: May 19, 2020 10:54 AM
Views: 4361
Tags: pet vizsga
  1. import com.greenfoxacademy.pet_shelter.models.Human;
  2. import java.util.List;
  3. import javassist.NotFoundException;
  4. import org.springframework.stereotype.Service;
  5.  
  6. @Service
  7. public interface HumanService {
  8.  
  9.   List<Human> returnAllHuman();
  10.   Human returnHumanById(Long id);
  11.   void saveHuman(Human human);
  12.   void deleteHuman(Long id) throws NotFoundException;
  13.   void editHuman(Human human);
  14.  
  15. }