Initial commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package com.carService.demo.manager;
|
||||
|
||||
import com.carService.demo.domain.Car;
|
||||
import com.carService.demo.domain.CarService;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
|
||||
public interface CarServiceManager {
|
||||
CarService createService(CarService service);
|
||||
List<CarService> getAllServices();
|
||||
Optional<CarService> getServiceById(Long serviceId);
|
||||
List<CarService> getServicesByCar(Car car);
|
||||
List<CarService> getServicesByCarId(Long carId);
|
||||
List<CarService> getRecentServices(int limit);
|
||||
void deleteServiceById(Long serviceId);
|
||||
}
|
Reference in New Issue
Block a user