Changeset d14176d for src/main/java/project/fmo/app/projcetfmo/Service/impl/DostavuvacServiceImpl.java
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/project/fmo/app/projcetfmo/Service/impl/DostavuvacServiceImpl.java
r1dd9226 rd14176d 1 package project.fmo.app.projcetfmo.Service.impl;public class DostavuvacServiceImpl { 1 package project.fmo.app.projcetfmo.Service.impl; 2 3 import org.springframework.stereotype.Service; 4 import project.fmo.app.projcetfmo.Model.Dostavuvac; 5 import project.fmo.app.projcetfmo.Repository.DostavuvacRepository; 6 import project.fmo.app.projcetfmo.Service.DostavuvaceService; 7 8 @Service 9 public class DostavuvacServiceImpl implements DostavuvaceService { 10 11 private final DostavuvacRepository dostavuvacRepository; 12 13 public DostavuvacServiceImpl(DostavuvacRepository dostavuvacRepository) { 14 this.dostavuvacRepository = dostavuvacRepository; 15 } 16 17 @Override 18 public Dostavuvac findById(Integer id) { 19 return dostavuvacRepository.findById(id).orElse(null); 20 } 2 21 }
Note:
See TracChangeset
for help on using the changeset viewer.