funcionalidad terminada

This commit is contained in:
2025-02-02 20:14:39 -03:00
parent 2a8ba5a9f4
commit e7747455ec
11 changed files with 352 additions and 15 deletions

View File

@@ -55,7 +55,10 @@ public class PropiedadesController: ControllerBase {
};
l.Add(p);
}
return Ok(l);
int cantpag = RepositorioPropiedades.Singleton.ObtenerPaginasDePropiedadesEnVenta();
return Ok(new { propiedades = l, cantpaginas = cantpag});
}
[HttpGet("api/propiedades/Venta/Propietario")]