source: src/main/java/com/example/fooddeliverysystem/service/impl/MostLoyalCustomerForEachPlaceServiceImpl.java

Last change on this file was 8d11f8c, checked in by jovanmanchev <jovanmanchev3003@…>, 20 months ago

code added, trial 2

  • Property mode set to 100644
File size: 996 bytes
Line 
1package com.example.fooddeliverysystem.service.impl;
2
3import com.example.fooddeliverysystem.model.views.MostLoyalCustomerForEachPlace;
4import com.example.fooddeliverysystem.repository.viewsrepos.MostLoyalCustomerForEachPlaceRepository;
5import com.example.fooddeliverysystem.service.MostLoyalCustomerForEachPlaceService;
6import org.springframework.stereotype.Service;
7
8import java.util.List;
9
10@Service
11public class MostLoyalCustomerForEachPlaceServiceImpl implements MostLoyalCustomerForEachPlaceService {
12
13 private final MostLoyalCustomerForEachPlaceRepository mostLoyalCustomerForEachPlaceRepository;
14
15 public MostLoyalCustomerForEachPlaceServiceImpl(MostLoyalCustomerForEachPlaceRepository mostLoyalCustomerForEachPlaceRepository) {
16 this.mostLoyalCustomerForEachPlaceRepository = mostLoyalCustomerForEachPlaceRepository;
17 }
18
19 @Override
20 public List<MostLoyalCustomerForEachPlace> listAll() {
21 return this.mostLoyalCustomerForEachPlaceRepository.findAll();
22 }
23}
Note: See TracBrowser for help on using the repository browser.