Pequeño refactor
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user