Added Active or DeActive for owner with API
All checks were successful
Build frontend / build (push) Successful in 1m10s

This commit is contained in:
Rahaf
2026-06-09 18:21:52 +03:00
parent 471332b59f
commit ce6caf08eb
2 changed files with 190 additions and 11 deletions

View File

@ -685,6 +685,20 @@ export async function getSalePropertyById(id) {
return apiFetch(`/SaleProperties/${id}`);
}
export async function updateRentPropertyStatus(id, status) {
return apiFetch(`/RentProperties/UpdateStatus/${id}`, {
method: 'PUT',
body: { status },
});
}
export async function updateSalePropertyStatus(id, status) {
return apiFetch(`/SaleProperties/UpdateStatus/${id}`, {
method: 'PUT',
body: { status },
});
}
// ─── Currencies ───
export async function getCurrencies() {