From 6f34d628c48028acea3ebd27ccc8d0c9bb99f20b Mon Sep 17 00:00:00 2001 From: fede Date: Mon, 23 Dec 2024 21:21:26 -0300 Subject: [PATCH] fix: corrijiendo caracteres de nueva linea --- Aspnet/Controllers/PropiedadesController.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Aspnet/Controllers/PropiedadesController.cs b/Aspnet/Controllers/PropiedadesController.cs index 08f78c9..9acfe43 100644 --- a/Aspnet/Controllers/PropiedadesController.cs +++ b/Aspnet/Controllers/PropiedadesController.cs @@ -191,9 +191,9 @@ public class PropiedadesController: ControllerBase { if (prop.Canthabitaciones < 0) ret += "No se puede tener una cantidad de habitaciones negativa\n"; - if (prop.Idtipropiedad <= 0) ret += "No tiene un tipo de propiedad asociada"; + if (prop.Idtipropiedad <= 0) ret += "No tiene un tipo de propiedad asociada\n"; - if (String.IsNullOrEmpty(prop.Ubicacion)) ret += "Tiene que definir la ubicacion de la propiedad\n"; + if (String.IsNullOrEmpty(prop.Ubicacion)) ret += "Tiene que definir la ubicacion de la propiedad"; return ret; @@ -205,13 +205,13 @@ public class PropiedadesController: ControllerBase { if (prop.id <1) ret += "No Cargo el dato de id"; if (String.IsNullOrEmpty(prop.Email)) ret += "Falta Definir un email de propietario\n"; - if (prop.id <1 ) ret += "No puede haber una id menor a 1"; + if (prop.id <1 ) ret += "No puede haber una id menor a 1\n"; if (prop.Canthabitaciones < 0) ret += "No se puede tener una cantidad de habitaciones negativa\n"; - if (prop.tipo <= 0) ret += "No tiene un tipo de propiedad asociada"; + if (prop.tipo <= 0) ret += "No tiene un tipo de propiedad asociada\n"; - if (String.IsNullOrEmpty(prop.Ubicacion)) ret += "Tiene que definir la ubicacion de la propiedad\n"; + if (String.IsNullOrEmpty(prop.Ubicacion)) ret += "Tiene que definir la ubicacion de la propiedad"; return ret;