source: src/main/java/com/example/baza/service/OcenaService.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: 464 bytes
Line 
1package com.example.baza.service;
2
3import com.example.baza.model.Avtor;
4import com.example.baza.model.Chlen2;
5import com.example.baza.model.Knigi;
6import com.example.baza.model.Ocena;
7
8import java.util.List;
9import java.util.Optional;
10
11public interface OcenaService {
12Optional<Ocena> findById(Integer id);
13List<Ocena> findByKomentar(String komentar);
14Ocena create(Integer ocena, String komentar, Chlen2 chlen, Knigi knigi, Avtor avtor);
15void delete(Integer id);
16}
Note: See TracBrowser for help on using the repository browser.