Retocado AddCategoria

This commit is contained in:
fedpo
2024-08-06 00:10:48 +01:00
committed by fede
parent 837f57a7cd
commit 4ef8bd03fc
3 changed files with 27 additions and 26 deletions

View File

@@ -28,7 +28,7 @@ namespace Vista
}
private void CargarDatos()
{
numid.Value = ControladoraCategorias.Instance.Listar().Max(x => x.Id+1);
numid.Value = ControladoraCategorias.Instance.Listar().Max(x => x.Id + 1);
numid.Enabled = false;
}