source: src/main/java/it/finki/charitable/services/DonationInformationService.java@ f8007b3

Last change on this file since f8007b3 was 3fc9e50, checked in by KostaFortumanov <kfortumanov@…>, 3 years ago

prototip part1

  • Property mode set to 100644
File size: 667 bytes
Line 
1package it.finki.charitable.services;
2
3import it.finki.charitable.entities.DonationInformation;
4import it.finki.charitable.repository.DonationInformationRepository;
5import org.springframework.stereotype.Service;
6
7@Service
8public 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.