1
0
forked from PGL/Clyde

j'ai envie de me pendre

This commit is contained in:
2024-03-13 19:12:46 +01:00
parent 4f511bf066
commit 4241f15731
9 changed files with 87 additions and 51 deletions

View File

@ -0,0 +1,23 @@
package ovh.herisson.Clyde.Services;
import org.springframework.stereotype.Service;
import ovh.herisson.Clyde.Repositories.InscriptionRepository;
import ovh.herisson.Clyde.Tables.InscriptionRequest;
@Service
public class InscriptionService {
InscriptionRepository incriptionRepo;
public void save(InscriptionRequest inscriptionRequest){
incriptionRepo.save(inscriptionRequest);
}
public InscriptionService(InscriptionRepository inscriptionRepo){
this.incriptionRepo = inscriptionRepo;
}
//todo return sans le mdp
public InscriptionRequest getById(int id){
return null;
}
}