Exemplo n.º 1
0
 public IActionResult UpdateDoctor(Patient patient)
 {
     return(Ok(PruebaNexosOperation.GetPruebaNexosPatientOperations().UpdatePatient(patient)));
 }
Exemplo n.º 2
0
 public IActionResult Get()
 {
     return(Ok(PruebaNexosOperation.GetPruebaNexosPatientOperations().GetPatient()));
 }
Exemplo n.º 3
0
 public IActionResult Delete(int id)
 {
     return(Ok(PruebaNexosOperation.GetPruebaNexosPatientOperations().DeletePatient(id)));
 }
Exemplo n.º 4
0
 public IActionResult UpdateDoctor(Doctor doctor)
 {
     return(Ok(PruebaNexosOperation.GetPruebaNexosDoctorOperations().UpdateDoctor(doctor)));
 }
Exemplo n.º 5
0
 public IActionResult Delete(int id)
 {
     return(Ok(PruebaNexosOperation.GetPruebaNexosDoctorOperations().DeleteDoctor(id)));
 }
Exemplo n.º 6
0
 public IActionResult Get()
 {
     return(Ok(PruebaNexosOperation.GetPruebaNexosDoctorOperations().GetDoctors()));
 }
Exemplo n.º 7
0
 public IEnumerable <Doctor> Get()
 {
     return(PruebaNexosOperation.GetPruebaNexosDoctorOperations().GetDoctors());
 }
Exemplo n.º 8
0
 public IActionResult CreatePatient(Patient patient)
 {
     return(Ok(PruebaNexosOperation.GetPruebaNexosPatientOperations().CreatePatient(patient)));
 }