use of wooteco.prolog.studylog.application.dto.FilterResponse in project prolog by woowacourse.
the class FilterController method showAll.
@GetMapping
public ResponseEntity<FilterResponse> showAll() {
List<LevelResponse> levelResponses = levelService.findAll();
List<MissionResponse> missionResponses = missionService.findAll();
List<TagResponse> tagResponses = tagService.findTagsIncludedInStudylogs();
List<MemberResponse> memberResponses = memberService.findAll();
return ResponseEntity.ok().body(new FilterResponse(levelResponses, missionResponses, tagResponses, memberResponses));
}
Aggregations