package se.kits.gakusei.content.repository;

import org.springframework.data.repository.CrudRepository;
import se.kits.gakusei.content.model.Inflection;

public interface InflectionRepository extends CrudRepository<Inflection, Long> {
}

@@ -145,16 +145,85 @@
 lection;
+%0Aimport se.kits.gakusei.content.model.Lesson;%0A%0Aimport java.util.List;
 %0A%0Apublic
@@ -297,10 +297,148 @@
 Long%3E %7B%0A
+%0A    List%3CInflection%3E findByLesson_Id(Long id);%0A%0A    Inflection findByLessonAndInflectionMethod(Lesson lesson, String inflectionMethod);%0A%0A
 %7D%0A

Extend functionality of InflectionRepository