@Service @Transactional public class ApartmentService extends Object
| Constructor and Description |
|---|
ApartmentService(ApartmentRepository apartmentRepository) |
| Modifier and Type | Method and Description |
|---|---|
Apartment |
create(Apartment apartment) |
List<Apartment> |
getAllApartments() |
Apartment |
getApartmentById(Long id) |
Apartment |
getApartmentByName(String name) |
@Autowired public ApartmentService(ApartmentRepository apartmentRepository)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.