Last change
on this file since ab49338 was 3fc9e50, checked in by KostaFortumanov <kfortumanov@…>, 3 years ago |
prototip part1
|
-
Property mode
set to
100644
|
File size:
596 bytes
|
Line | |
---|
1 | package it.finki.charitable.services;
|
---|
2 |
|
---|
3 | import it.finki.charitable.entities.FundsCollected;
|
---|
4 | import it.finki.charitable.repository.FundsCollectedRepository;
|
---|
5 | import org.springframework.stereotype.Service;
|
---|
6 |
|
---|
7 | @Service
|
---|
8 | public class FundsCollectedService {
|
---|
9 |
|
---|
10 | private final FundsCollectedRepository fundsCollectedRepository;
|
---|
11 |
|
---|
12 | public FundsCollectedService(FundsCollectedRepository fundsCollectedRepository) {
|
---|
13 | this.fundsCollectedRepository = fundsCollectedRepository;
|
---|
14 | }
|
---|
15 |
|
---|
16 | public void save(FundsCollected fundsCollected) {
|
---|
17 | fundsCollectedRepository.save(fundsCollected);
|
---|
18 | }
|
---|
19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.