Add comment
This commit is contained in:
@@ -5,6 +5,7 @@ import org.springframework.data.jpa.repository.JpaRepository;
|
||||
|
||||
import java.util.Optional;
|
||||
|
||||
// TODO: Divide by ReadOnlyRepository and WriteOnlyRepository
|
||||
public interface AnswerRepository extends JpaRepository<Answer, Long> {
|
||||
|
||||
Optional<Answer> findByResourceId(final String resourceId);
|
||||
|
||||
@@ -11,9 +11,11 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
|
||||
// TODO: Divide to separate domain controller
|
||||
@RestController
|
||||
@RequiredArgsConstructor
|
||||
public class EnumsController {
|
||||
class EnumsController {
|
||||
|
||||
private final EnumMapperFactory enumMapperFactory;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user