source: src/main/java/com/example/baza/service/DobavuvacService.java

Last change on this file was ed20c2c, checked in by HumaSejdini <humasejdini12@…>, 2 years ago

Initial commit

  • Property mode set to 100644
File size: 347 bytes
Line 
1package com.example.baza.service;
2
3
4
5import com.example.baza.model.Dobavuvac;
6
7import java.util.List;
8import java.util.Optional;
9
10public interface DobavuvacService {
11 Optional<Dobavuvac> findById(Integer id);
12 List<Dobavuvac> findByImeDobabuvac(String imeDobabuvac);
13 Dobavuvac create(String imeDobabuvac);
14 void delete(Integer id);
15}
Note: See TracBrowser for help on using the repository browser.