Last change
on this file was 62bba0c, checked in by ste08 <sjovanoska@…>, 4 months ago |
Report working, Wishlist partly working.
|
-
Property mode
set to
100644
|
File size:
547 bytes
|
Rev | Line | |
---|
[a70b5a4] | 1 | package com.example.skychasemk.services;
|
---|
| 2 |
|
---|
| 3 | import com.example.skychasemk.model.TopMonthlyReport;
|
---|
| 4 | import com.example.skychasemk.repository.TopMonthlyReportRepository;
|
---|
| 5 | import org.springframework.beans.factory.annotation.Autowired;
|
---|
| 6 | import org.springframework.stereotype.Service;
|
---|
| 7 |
|
---|
| 8 | import java.time.LocalDate;
|
---|
| 9 | import java.util.List;
|
---|
| 10 |
|
---|
| 11 | @Service
|
---|
| 12 | public class TopMonthlyReportService {
|
---|
| 13 | @Autowired
|
---|
| 14 | private TopMonthlyReportRepository repository;
|
---|
| 15 |
|
---|
| 16 | public List<TopMonthlyReport> getAllReports() {
|
---|
[62bba0c] | 17 | return repository.findAllRecords();
|
---|
[a70b5a4] | 18 | }
|
---|
| 19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.