source: src/main/java/com/example/medweb/service/impl/TransakcijaServiceImpl.java

Last change on this file was e5fefbd, checked in by Anita Terziska <63020646+Nit4e@…>, 2 years ago

initial commit

  • Property mode set to 100644
File size: 665 bytes
Line 
1package com.example.medweb.service.impl;
2
3import com.example.medweb.model.Transakcija;
4import com.example.medweb.repository.TransakcijaRepository;
5import com.example.medweb.service.TransakcijaService;
6import org.springframework.stereotype.Service;
7
8
9@Service
10public class TransakcijaServiceImpl implements TransakcijaService {
11
12 private final TransakcijaRepository transakcijaRepository;
13
14 public TransakcijaServiceImpl(TransakcijaRepository transakcijaRepository) {
15 this.transakcijaRepository = transakcijaRepository;
16 }
17
18 @Override
19 public void save(Transakcija transakcija) {
20
21 this.transakcijaRepository.save(transakcija);
22 }
23}
Note: See TracBrowser for help on using the repository browser.