Index: trip-planner/src/main/java/finki/diplomska/tripplanner/service/impl/LocationServiceImpl.java
===================================================================
--- trip-planner/src/main/java/finki/diplomska/tripplanner/service/impl/LocationServiceImpl.java	(revision 6a8023106281cf8cc9e4dc316984fdb52cdcf8e2)
+++ trip-planner/src/main/java/finki/diplomska/tripplanner/service/impl/LocationServiceImpl.java	(revision ceaed429447854991cde276cd74df8d5dc9a2009)
@@ -2,6 +2,9 @@
 
 import finki.diplomska.tripplanner.models.Location;
+import finki.diplomska.tripplanner.models.Planner;
+import finki.diplomska.tripplanner.models.dto.PlannerLocationDto;
 import finki.diplomska.tripplanner.models.exceptions.LocationNotFoundException;
 import finki.diplomska.tripplanner.repository.jpa.JpaLocationRepository;
+import finki.diplomska.tripplanner.repository.jpa.JpaPlannerRepository;
 import finki.diplomska.tripplanner.service.LocationService;
 import org.springframework.stereotype.Service;
@@ -15,7 +18,9 @@
 
     private final JpaLocationRepository locationRepository;
+    private final JpaPlannerRepository plannerRepository;
 
-    public LocationServiceImpl(JpaLocationRepository locationRepository) {
+    public LocationServiceImpl(JpaLocationRepository locationRepository, JpaPlannerRepository plannerRepository) {
         this.locationRepository = locationRepository;
+        this.plannerRepository = plannerRepository;
     }
 
@@ -150,3 +155,18 @@
     }
 
+    @Override
+    public Location addLocationToPlanner(PlannerLocationDto plannerLocationDto) {
+        Location location = this.locationRepository.findById(plannerLocationDto.getLocationId())
+                .orElseThrow(() -> new LocationNotFoundException(plannerLocationDto.getLocationId()));
+        Planner planner = this.plannerRepository.getById(plannerLocationDto.getPlannerId());
+        planner.getLocationList().add(location);
+        return this.locationRepository.save(location);
+    }
+
+    @Override
+    public List<Location> getAllLocationsForPlanner(Long plannerId) {
+        return this.locationRepository.getAllLocationsForPlanner(plannerId);
+    }
+
+
 }
Index: trip-planner/src/main/java/finki/diplomska/tripplanner/service/impl/PlannerServiceImpl.java
===================================================================
--- trip-planner/src/main/java/finki/diplomska/tripplanner/service/impl/PlannerServiceImpl.java	(revision 6a8023106281cf8cc9e4dc316984fdb52cdcf8e2)
+++ trip-planner/src/main/java/finki/diplomska/tripplanner/service/impl/PlannerServiceImpl.java	(revision ceaed429447854991cde276cd74df8d5dc9a2009)
@@ -22,10 +22,8 @@
     private final JpaPlannerRepository plannerRepository;
     private final JpaLocationRepository locationRepository;
-    private final LocationService locationService;
 
-    public PlannerServiceImpl(JpaPlannerRepository plannerRepository, JpaLocationRepository locationRepository, LocationService locationService) {
+    public PlannerServiceImpl(JpaPlannerRepository plannerRepository, JpaLocationRepository locationRepository) {
         this.plannerRepository = plannerRepository;
         this.locationRepository = locationRepository;
-        this.locationService = locationService;
     }
 
@@ -40,12 +38,4 @@
     }
 
-    @Override
-    public Planner addLocationToPlanner(Long plannerId, Long locationId) {
-        Location location = this.locationService.findById(locationId)
-                .orElseThrow(() -> new LocationNotFoundException(locationId));
-        Planner planner = this.plannerRepository.getById(plannerId);
-        planner.getLocationList().add(location);
-        return this.plannerRepository.save(planner);
-    }
 
     @Override
@@ -84,5 +74,5 @@
         planner.setName(plannerDto.getName());
         planner.setDescription(plannerDto.getDescription());
-
+/*
         List<Location> locationList  = new ArrayList<>();
         for(Long location : plannerDto.getLocationList()){
@@ -92,4 +82,6 @@
         }
         planner.setLocationList(locationList);
+
+ */
         return Optional.of(this.plannerRepository.save(planner));
     }
