X-Git-Url: https://git.llucax.com/z.facultad/75.10/miklolife.git/blobdiff_plain/ac4a956058b69d4a283635f45c09ab2741b9dffb..1c4cf971e3b30f540ddc8541ce0634737331edb5:/demo/src/Controlador/PlanesController.cs?ds=inline diff --git a/demo/src/Controlador/PlanesController.cs b/demo/src/Controlador/PlanesController.cs index a449372..16e6e25 100644 --- a/demo/src/Controlador/PlanesController.cs +++ b/demo/src/Controlador/PlanesController.cs @@ -60,6 +60,16 @@ public class PlanesController : Controller return ObjectSetToArrayList (result); } + + public ArrayList ObtenerCoberturas (int codigo) + { + Plan c = new Plan (); + c.Codigo = codigo; + ObjectSet result = Db.get (c); + + c = (Plan)result.next (); + return c.Coberturas; + } } }