Ignore:
Timestamp:
11/23/21 14:58:44 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
e29cc2e
Parents:
ceaed42
Message:

adding photos

Location:
trip-planner/src/main/java/finki/diplomska/tripplanner/web/rest
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trip-planner/src/main/java/finki/diplomska/tripplanner/web/rest/LocationRestController.java

    rceaed42 r59329aa  
    6161        return this.locationService.getAllLocationsForPlanner(plannerId);
    6262    }
     63
     64    @GetMapping(value = "weekend")
     65    public List<Location> getWeekendGetaways(){
     66        return this.locationService.getWeekendGetaways();
     67    }
     68
     69    @GetMapping(value = "villages")
     70    public List<Location> getVillages(){
     71        return this.locationService.getVillages();
     72    }
    6373}
Note: See TracChangeset for help on using the changeset viewer.