Beispiel #1
0
 public async Task <Paciente> ObtenerPacientePorId(long idPaciente)
 {
     Datos.PacientesDatos pacientesDatos = new Datos.PacientesDatos();
     return(await pacientesDatos.ObtenerPacientePorId(idPaciente));
 }
Beispiel #2
0
 public async Task <List <Entidades.ViewModels.PacienteViewModel> > ObtenerListadoPacientes()
 {
     Datos.PacientesDatos pacientesDatos = new Datos.PacientesDatos();
     return(await pacientesDatos.ObtenerListadoPacientes());
 }
Beispiel #3
0
 public async Task <bool> CrearPaciente(Paciente nuevoPaciente)
 {
     Datos.PacientesDatos pacientesDatos = new Datos.PacientesDatos();
     return(await pacientesDatos.CrearPaciente(nuevoPaciente));
 }
Beispiel #4
0
 public async Task <bool> EliminarPaciente(long idPaciente)
 {
     Datos.PacientesDatos pacientesDatos = new Datos.PacientesDatos();
     return(await pacientesDatos.BorrarPaciente(idPaciente));
 }
Beispiel #5
0
 public async Task <bool> ActualizarPaciente(Paciente paciente)
 {
     Datos.PacientesDatos pacientesDatos = new Datos.PacientesDatos();
     return(await pacientesDatos.ActualizarPaciente(paciente));
 }