Last change
on this file since 2b0a4db was a436340, checked in by Gjoko Kostadinov <gjoko.kostadinov@…>, 17 months ago |
Adding customer registration
|
-
Property mode
set to
100644
|
File size:
617 bytes
|
Rev | Line | |
---|
[a436340] | 1 | package edu.gjoko.schedlr.services;
|
---|
| 2 |
|
---|
| 3 | import edu.gjoko.schedlr.entity.BusinessType;
|
---|
| 4 | import edu.gjoko.schedlr.repositories.BusinessTypeRepository;
|
---|
| 5 | import edu.gjoko.schedlr.repositories.ServiceTypeRepository;
|
---|
| 6 | import lombok.AllArgsConstructor;
|
---|
| 7 | import org.springframework.stereotype.Service;
|
---|
| 8 |
|
---|
| 9 | import java.util.List;
|
---|
| 10 |
|
---|
| 11 | @Service
|
---|
| 12 | @AllArgsConstructor
|
---|
| 13 | public class NomenclaturesService {
|
---|
| 14 |
|
---|
| 15 | private final BusinessTypeRepository businessTypeRepository;
|
---|
| 16 |
|
---|
| 17 | private final ServiceTypeRepository serviceTypeRepository;
|
---|
| 18 |
|
---|
| 19 | public List<BusinessType> getBusinessTypes () {
|
---|
| 20 | return businessTypeRepository.findAll();
|
---|
| 21 | }
|
---|
| 22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.