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