We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d4ef46 commit 0c08d49Copy full SHA for 0c08d49
src/main/java/com/getourguide/interview/service/ActivityService.java
@@ -1,6 +1,5 @@
1
package com.getourguide.interview.service;
2
3
-import com.getourguide.interview.controller.SupplierController;
4
import com.getourguide.interview.dto.ActivityDto;
5
import com.getourguide.interview.entity.Activity;
6
import com.getourguide.interview.repository.ActivityRepository;
@@ -14,7 +13,7 @@
14
13
@AllArgsConstructor
15
public class ActivityService {
16
private final ActivityRepository activityRepository;
17
- private final SupplierController supplierController;
+
18
public List<ActivityDto> getActivities() {
19
List<Activity> activities = activityRepository.findAll();
20
List<ActivityDto> result = new ArrayList<>();
0 commit comments