source: src/main/java/com/example/villadihovo/service/impl/statisticsImpl/StatisticsForActivityServiceImpl.java

Last change on this file was f7c05a1, checked in by Elena Shulevska <elena.shulevska@…>, 15 months ago

initial commit of the source code on origin

  • Property mode set to 100644
File size: 712 bytes
Line 
1package com.example.villadihovo.service.impl.statisticsImpl;
2
3
4import com.example.villadihovo.model.statistics.StatisticsForActivity;
5import com.example.villadihovo.repository.statistics.StatisticsForActivityRepository;
6import com.example.villadihovo.service.statistics.StatisticsForActivityService;
7import org.springframework.beans.factory.annotation.Autowired;
8import org.springframework.stereotype.Service;
9
10import java.util.List;
11
12@Service
13public class StatisticsForActivityServiceImpl implements StatisticsForActivityService {
14
15 @Autowired
16 StatisticsForActivityRepository statistics;
17
18 @Override
19 public List<StatisticsForActivity> listAll() {
20 return this.statistics.findAll();
21 }
22}
Note: See TracBrowser for help on using the repository browser.