X-Git-Url: https://git.llucax.com/z.facultad/75.10/miklolife.git/blobdiff_plain/01ba80dab5bcd0b57e7ba017186532d4219468c3..40b39c7a3f0ef8e0439d7cb610f48b4cdcf743b3:/demo/src/Controlador/RegistrarVisitasController.cs diff --git a/demo/src/Controlador/RegistrarVisitasController.cs b/demo/src/Controlador/RegistrarVisitasController.cs index 2e087df..93f91f8 100644 --- a/demo/src/Controlador/RegistrarVisitasController.cs +++ b/demo/src/Controlador/RegistrarVisitasController.cs @@ -40,6 +40,15 @@ public class RegistrarVisitasController : Controller s.Promotor = null; Db.set (s); } + + public void EliminarSolicitante (ETipoDocumento tipoDoc, int nroDoc) + { + /* Obtengo el solicitante */ + Solicitante s = new Solicitante (tipoDoc, nroDoc, null, null); + ObjectSet result = Db.get (s); + s = (Solicitante)result.next (); + Db.delete (s); + } } }