@Service
public class PacienteService
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private PacienteRepo |
pacienteRepo |
| Constructor and Description |
|---|
PacienteService(PacienteRepo pacienteRepo) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Paciente> |
findPacienteByDocumento(java.lang.String documento) |
Paciente |
findPacienteById(java.lang.Integer id) |
java.util.List<Paciente> |
findPacienteByName(java.lang.String nombrePaciente) |
private final PacienteRepo pacienteRepo
@Autowired public PacienteService(PacienteRepo pacienteRepo)