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 | |
---|
1 | package com.example.medweb.service.impl;
|
---|
2 |
|
---|
3 | import com.example.medweb.model.Transakcija;
|
---|
4 | import com.example.medweb.repository.TransakcijaRepository;
|
---|
5 | import com.example.medweb.service.TransakcijaService;
|
---|
6 | import org.springframework.stereotype.Service;
|
---|
7 |
|
---|
8 |
|
---|
9 | @Service
|
---|
10 | public 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.