X-Git-Url: https://git.llucax.com/z.facultad/75.10/miklolife.git/blobdiff_plain/ac4a956058b69d4a283635f45c09ab2741b9dffb..2d60ff3f1d4decda7ced1f1cd7d0720dd841129b:/demo/src/Controlador/PlanesController.cs 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; + } } }