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 | |
---|
1 | package com.example.villadihovo.service.impl.statisticsImpl;
|
---|
2 |
|
---|
3 |
|
---|
4 | import com.example.villadihovo.model.statistics.StatisticsForActivity;
|
---|
5 | import com.example.villadihovo.repository.statistics.StatisticsForActivityRepository;
|
---|
6 | import com.example.villadihovo.service.statistics.StatisticsForActivityService;
|
---|
7 | import org.springframework.beans.factory.annotation.Autowired;
|
---|
8 | import org.springframework.stereotype.Service;
|
---|
9 |
|
---|
10 | import java.util.List;
|
---|
11 |
|
---|
12 | @Service
|
---|
13 | public 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.