Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/autopartz/service/PartService.java
re02787e r2a552fe 1 1 package com.example.autopartz.service; 2 2 3 import com.example.autopartz.model.Car; 4 import com.example.autopartz.model.Category; 3 5 import com.example.autopartz.model.Part; 4 6 … … 7 9 public interface PartService { 8 10 List<Part> findAll(); 11 9 12 Part findById(Integer id); 13 14 void addPartToWarehouse(Integer partId, Integer quantity, Integer warehouseId); 15 16 void addPart(String name, String description, Integer manufacturer, List<Car> cars, List<Category> categories, Integer warehouse, Integer quantity, Integer amount 17 ); 10 18 }
Note:
See TracChangeset
for help on using the changeset viewer.