Pequeño refactor

This commit is contained in:
fedpo
2024-12-02 16:17:16 +00:00
parent 61d8cf3723
commit 2cb2fe1401
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ namespace Controladora
public string Añadir(Cliente t)
{
if (t == null) return "El Cliente es nulo, fallo la carga";
if (t.Cuit == 0) return "Cuit no puede ser 0";
try
{
repositorioClientes.Add(t);