:(
This commit is contained in:
@@ -3,6 +3,7 @@ package com.example.nto.service;
|
||||
import com.example.nto.entity.Employee;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
|
||||
/**
|
||||
* TODO: ДОРАБОТАТЬ в рамках задания
|
||||
@@ -13,5 +14,5 @@ import java.util.List;
|
||||
public interface EmployeeService {
|
||||
List<Employee> getAll();
|
||||
|
||||
Employee getById(long id);
|
||||
Optional<Employee> getById(long id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user