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