source: src/main/java/it/finki/charitable/services/FundsCollectedService.java@ 3fc9e50

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

prototip part1

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