j'ai envie de me pendre
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user