source: src/main/java/com/example/eatys_app/service/RestoranService.java

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

Adding project to repo

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