- Timestamp:
- 01/28/22 18:45:54 (3 years ago)
- Branches:
- master
- Children:
- 6fe77af
- Parents:
- b738035
- Location:
- trip-planner/src/main/java/finki/diplomska/tripplanner/web/rest
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner/src/main/java/finki/diplomska/tripplanner/web/rest/LocationRestController.java
rb738035 r76712b2 77 77 } 78 78 79 @GetMapping(value = "/all") 80 public List<Location> getAllLocations(@RequestParam String place){ 81 return this.locationService.getAllLocations(place); 82 } 83 79 84 } -
trip-planner/src/main/java/finki/diplomska/tripplanner/web/rest/RegionRestController.java
rb738035 r76712b2 25 25 return this.regionService.findAll(); 26 26 } 27 28 @GetMapping(value = "/places") 29 public List<String> getAllCitiesAndRegions(){ 30 return this.regionService.getAllCitiesAndRegions(); 31 } 27 32 }
Note:
See TracChangeset
for help on using the changeset viewer.