source: src/main/java/com/example/fooddeliverysystem/service/impl/FranchizeEarningsBySalePlaceServiceImpl.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: 983 bytes
Line 
1package com.example.fooddeliverysystem.service.impl;
2
3import com.example.fooddeliverysystem.model.views.FranchizeEarningsBySalePlace;
4import com.example.fooddeliverysystem.repository.viewsrepos.FranchizeEarningsBySalePlaceRepository;
5import com.example.fooddeliverysystem.service.FranchizeEarningsBySalePlaceService;
6import org.springframework.stereotype.Service;
7
8import java.util.List;
9
10@Service
11public class FranchizeEarningsBySalePlaceServiceImpl implements FranchizeEarningsBySalePlaceService {
12
13
14 private final FranchizeEarningsBySalePlaceRepository franchizeEarningsBySalePlaceRepository;
15
16 public FranchizeEarningsBySalePlaceServiceImpl(FranchizeEarningsBySalePlaceRepository franchizeEarningsBySalePlaceRepository) {
17 this.franchizeEarningsBySalePlaceRepository = franchizeEarningsBySalePlaceRepository;
18 }
19
20 @Override
21 public List<FranchizeEarningsBySalePlace> listAll() {
22 return this.franchizeEarningsBySalePlaceRepository.findAll();
23 }
24}
Note: See TracBrowser for help on using the repository browser.