Fix Nombres Id
This commit is contained in:
		| @@ -5,7 +5,7 @@ namespace Elecciones.Core.DTOs; | ||||
|  | ||||
| public class AmbitoDto | ||||
| { | ||||
|     [JsonPropertyName("nivelld")] | ||||
|     [JsonPropertyName("nivelId")] | ||||
|     public int NivelId { get; set; } | ||||
|  | ||||
|     [JsonPropertyName("nombre")] | ||||
|   | ||||
| @@ -8,7 +8,7 @@ public class CatalogoDto | ||||
|     [JsonPropertyName("version")] | ||||
|     public int Version { get; set; } | ||||
|  | ||||
|     [JsonPropertyName("categoriald")] | ||||
|     [JsonPropertyName("categoriaId")] | ||||
|     public int CategoriaId { get; set; } | ||||
|  | ||||
|     [JsonPropertyName("ambitos")] | ||||
|   | ||||
| @@ -5,16 +5,16 @@ namespace Elecciones.Core.DTOs; | ||||
|  | ||||
| public class CodigoAmbitoDto | ||||
| { | ||||
|     [JsonPropertyName("distritold")] | ||||
|     [JsonPropertyName("distritoId")] | ||||
|     public string DistritoId { get; set; } = null!; | ||||
|  | ||||
|     // Hacemos que los demás IDs acepten nulos para ser más flexibles | ||||
|     [JsonPropertyName("seccionProvincialld")] | ||||
|     [JsonPropertyName("seccionProvincialId")] | ||||
|     public string? SeccionProvincialId { get; set; } | ||||
|  | ||||
|     [JsonPropertyName("seccionld")] | ||||
|     [JsonPropertyName("seccionId")] | ||||
|     public string? SeccionId { get; set; } | ||||
|  | ||||
|     [JsonPropertyName("municipiold")] | ||||
|     [JsonPropertyName("municipioId")] | ||||
|     public string? MunicipioId { get; set; } | ||||
| } | ||||
| @@ -5,7 +5,7 @@ namespace Elecciones.Core.DTOs; | ||||
|  | ||||
| public class NivelDto | ||||
| { | ||||
|     [JsonPropertyName("nivelld")] | ||||
|     [JsonPropertyName("nivelId")] | ||||
|     public int NivelId { get; set; } | ||||
|  | ||||
|     [JsonPropertyName("nombre")] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user