daily pastebin goal
57%
SHARE
TWEET

Untitled

a guest Mar 26th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package service;
  2.  
  3. import org.springframework.beans.factory.annotation.Autowired;
  4. import org.springframework.stereotype.Service;
  5.  
  6. import dto.Registro;
  7. import repository.RegistroRepository;
  8.  
  9. @Service
  10. public class RegistroService {
  11.  
  12.     @Autowired
  13.     private RegistroRepository registroRepository;
  14.    
  15.     public int addRegistroCandidato(Registro registroDto) {
  16.        
  17.         return registroRepository.addRegistroCandidato(registroDto);
  18.     }
  19.  
  20.     public int addRegistroMultiCandidatura(Registro registroDto) {
  21.    
  22.         return registroRepository.addRegistroMultiCandidatura(registroDto);
  23.     }
  24. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top