X-Git-Url: https://git.llucax.com/z.facultad/75.10/miklolife.git/blobdiff_plain/ac4a956058b69d4a283635f45c09ab2741b9dffb..b51bf640c558c27dc28581ffe7a4b47345485b40:/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; + } } }