Exemplo n.º 1
0
 public function GuardarTurno()
 {
     $var = medico::TraerUnTurno($this->id_turno);
     if (empty($var)) {
         $this->InsertarTurno();
     } else {
         $this->Modificarturno();
     }
 }