X-Git-Url: https://git.llucax.com/z.facultad/75.10/miklolife.git/blobdiff_plain/9558b1720c211cc3e4987ab108149b52face4f7b..HEAD:/demo/src/Controlador/PlanesController.cs diff --git a/demo/src/Controlador/PlanesController.cs b/demo/src/Controlador/PlanesController.cs index 16e6e25..26e8d45 100644 --- a/demo/src/Controlador/PlanesController.cs +++ b/demo/src/Controlador/PlanesController.cs @@ -26,6 +26,9 @@ public class PlanesController : Controller p.Descripcion = desc; p.PermanenciaMinima = permanencia; + AutoIncrementable c = new AutoIncrementable (); + p.Codigo = c.NextPlan (); + c.Dispose (); actual = p; return true; }