public ActionResult <MedicoResponse> ActualizarMedico([FromBody] MedicoRequest request) { ActualizarService _service = new ActualizarService(_unitOfWork); MedicoResponse response = _service.ActualizarMedico(request); return(Ok(response)); }
public ActionResult <PacienteResponse> ActualizarPaciente([FromBody] PacienteRequest request) { ActualizarService _service = new ActualizarService(_unitOfWork); PacienteResponse response = _service.ActualizarPaciente(request); return(Ok(response)); }