diff --git a/src/main/java/in/koreatech/koin/domain/dept/controller/DeptController.java b/src/main/java/in/koreatech/koin/domain/dept/controller/DeptController.java index cc64aaf8a..f9ef09d87 100644 --- a/src/main/java/in/koreatech/koin/domain/dept/controller/DeptController.java +++ b/src/main/java/in/koreatech/koin/domain/dept/controller/DeptController.java @@ -19,13 +19,13 @@ public class DeptController { private final DeptService deptService; @GetMapping("/dept") - public ResponseEntity findDept(@RequestParam(value = "dept_num") Long deptNumber) { + public ResponseEntity getDept(@RequestParam(value = "dept_num") Long deptNumber) { DeptResponse foundDepartment = deptService.getById(deptNumber); return ResponseEntity.ok(foundDepartment); } @GetMapping("/depts") - public ResponseEntity> findAllDept() { + public ResponseEntity> getAllDept() { List response = deptService.getAll(); return ResponseEntity.ok(response); }