Changeset 8d391a1 for trip-planner/src/main/java/finki/diplomska/tripplanner/web/rest/LocationRestController.java
- Timestamp:
- 11/26/21 20:07:18 (3 years ago)
- Branches:
- master
- Children:
- 1ad8e64
- Parents:
- e29cc2e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner/src/main/java/finki/diplomska/tripplanner/web/rest/LocationRestController.java
re29cc2e r8d391a1 5 5 import finki.diplomska.tripplanner.service.LocationService; 6 6 import finki.diplomska.tripplanner.service.PlannerService; 7 import org.springframework.data.repository.query.Param; 7 8 import org.springframework.http.ResponseEntity; 8 9 import org.springframework.web.bind.annotation.*; … … 71 72 return this.locationService.getVillages(); 72 73 } 74 75 @GetMapping(value = "/planner/locationIds") 76 public List<Long> getAllLocationIdsForPlanner(@RequestParam Long plannerId){ 77 return this.locationService.getAllLocationIdsForPlanner(plannerId); 78 } 73 79 }
Note:
See TracChangeset
for help on using the changeset viewer.