Compare commits
2 Commits
7ddebf7a4a
...
e43028c0ee
| Author | SHA1 | Date | |
|---|---|---|---|
| e43028c0ee | |||
|
|
8b6e20cb3a |
@@ -5,6 +5,6 @@ import java.util.List;
|
||||
import com.example.demo.app.domain.model.CourseInfoModel;
|
||||
|
||||
public interface CourseInfoService {
|
||||
//
|
||||
|
||||
public List<CourseInfoModel> findAll();
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ import java.util.List;
|
||||
import com.example.demo.app.domain.model.CourseModel;
|
||||
|
||||
public interface CourseService {
|
||||
//
|
||||
|
||||
public List<CourseModel> findAll();
|
||||
|
||||
}
|
||||
|
||||
@@ -20,4 +20,5 @@ public class CourseInfoServiceImpl implements CourseInfoService {
|
||||
public List<CourseInfoModel> findAll() {
|
||||
return allocationRepository.findAllJoinedAllocation();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -21,5 +21,4 @@ public class CourseServiceImpl implements CourseService {
|
||||
|
||||
return CourseEntity.createCourseModelList(courseRepository.findAll());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user