10 lines
177 B
Java
10 lines
177 B
Java
package io.spring.core.comment;
|
|
|
|
import java.util.Optional;
|
|
|
|
public interface CommentRepository {
|
|
void save(Comment comment);
|
|
|
|
Optional<Comment> findById(String id);
|
|
}
|