source: src/main/java/com/example/autopartz/service/RepairShopService.java

main
Last change on this file was 2a552fe, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 16 months ago

Added transactional methods to secure the database integrity and refactoring

  • Property mode set to 100644
File size: 334 bytes
Line 
1package com.example.autopartz.service;
2
3import com.example.autopartz.model.RepairShop;
4
5import java.util.List;
6
7public interface RepairShopService {
8 List<RepairShop> findAll();
9 RepairShop getByName(String name);
10 RepairShop getById(Integer id);
11 void save(String name, String location, String number, Integer carMId);
12}
Note: See TracBrowser for help on using the repository browser.