Created
August 25, 2016 03:23
-
-
Save darwinrc/b03ad83a56e58dc4b7d643654d119e21 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (localidad.Barrios.Count() == 1) | |
{ | |
if (localidad.Barrios.First().Nombre == BowConstsZonificacion.BARRIO_NO_IDENTIFICADO) | |
{ | |
if (localidad.Zonas.Count() == 0) | |
{ | |
if (localidad.TiposOrientacionLocalidad.Count() == 0) | |
{ | |
if (localidad.SufijosLocalidad.Count() == 0) | |
{ | |
if (localidad.InfoTributariaLocalidades.Count() == 0) | |
{ | |
if (localidad.Telefonos.Count() == 0) | |
{ | |
if (localidad.RecaudoMasivoCobertura.Count() == 0) | |
{ | |
//if (localidad.AfiliadosProspecto.Count() == 0) | |
//{ | |
if (localidad.LocalidadGestionProspecto.Count() == 0) | |
{ | |
puede.PuedeEliminar = true; | |
} | |
else | |
{ | |
puede.PuedeEliminar = false; | |
} | |
//} | |
//else | |
//{ | |
// puede.PuedeEliminar = false; | |
//} | |
} | |
else | |
{ | |
puede.PuedeEliminar = false; | |
} | |
} | |
else | |
{ | |
puede.PuedeEliminar = false; | |
} | |
} | |
else | |
{ | |
puede.PuedeEliminar = false; | |
} | |
} | |
else | |
{ | |
puede.PuedeEliminar = false; | |
} | |
} | |
else | |
{ | |
puede.PuedeEliminar = false; | |
} | |
} | |
else | |
{ | |
puede.PuedeEliminar = false; | |
} | |
} | |
else | |
{ | |
puede.PuedeEliminar = false; | |
} | |
} | |
else | |
{ | |
puede.PuedeEliminar = false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jajajaja, que belleza...