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;