update api endpoint config and updated related tests (#26)
This commit is contained in:
@@ -2,7 +2,6 @@ package whattocook.services;
|
||||
|
||||
import whattocook.models.Item;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
|
||||
public interface ItemService {
|
||||
@@ -10,5 +9,5 @@ public interface ItemService {
|
||||
void deleteById(Long id);
|
||||
Optional<Item> findById(long id);
|
||||
Optional<Item> findByName(String name);
|
||||
List<Item> findAll();
|
||||
Iterable<Item> findAll();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user