Make real Test for BO only

This commit is contained in:
Olivier PARPAILLON
2025-07-10 11:18:19 +02:00
parent 3fd8990079
commit 5d79781c76
21 changed files with 394 additions and 235 deletions

View File

@@ -1,17 +1,7 @@
package fr.eni.demo.bll;
import fr.eni.demo.bo.Adresse;
import fr.eni.demo.dal.AdresseRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class AdresseService {
@Autowired
AdresseRepository adresseRepository;
public void add(Adresse adresse) {
adresseRepository.save(adresse);
}
public interface AdresseService {
void add(Adresse adresse);
}