arreglado tema clientes y otras cosas
This commit is contained in:
@@ -6,11 +6,6 @@ namespace Modelo
|
||||
{
|
||||
public override bool Add(Cliente t)
|
||||
{
|
||||
if (ExistePorCuit(t.Cuit))
|
||||
{
|
||||
throw new InvalidOperationException($"El Cliente con el CUIT {t.Cuit} ya existe.");
|
||||
}
|
||||
|
||||
bool ret = false;
|
||||
try
|
||||
{
|
||||
@@ -33,8 +28,6 @@ namespace Modelo
|
||||
override public bool Mod(Cliente t)
|
||||
{
|
||||
bool ret = false;
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
var clienteAModificar = almacen.FindIndex(x => x.Cuit == t.Cuit);
|
||||
|
||||
Reference in New Issue
Block a user