source: src/main/java/com/example/eatys_app/service/ObrokService.java@ b3f2adb

Last change on this file since b3f2adb was b3f2adb, checked in by Aleksandar Siljanoski <acewow3@…>, 14 months ago

Adding project to repo

  • Property mode set to 100644
File size: 456 bytes
Line 
1package com.example.eatys_app.service;
2
3import com.example.eatys_app.model.Meni;
4import com.example.eatys_app.model.Obrok;
5
6import java.util.List;
7
8public interface ObrokService {
9
10 List<Obrok> listAll();
11
12 Obrok findById(Integer id);
13
14 Obrok create(String ime,String opis, Integer meniId);
15
16 Obrok update(Integer id, String ime,String opis, Integer meniId);
17
18 Obrok delete(Integer id);
19
20 List<Obrok> listObrociByMeni(Integer meniId);
21
22}
Note: See TracBrowser for help on using the repository browser.