edited the edit properrty
All checks were successful
Build frontend / build (push) Successful in 44s

This commit is contained in:
mouazkh
2026-05-26 04:35:03 +03:00
parent 439f69419f
commit 09bbf07d8c
2 changed files with 609 additions and 412 deletions

File diff suppressed because it is too large Load Diff

View File

@ -672,6 +672,14 @@ export async function editRentProperty(id, data) {
});
}
export async function editSaleProperty(id, data) {
console.log('[API] Editing sale property:', id);
return apiFetch(`/SaleProperties/EditSaleProperty/${id}`, {
method: 'PUT',
body: JSON.stringify(data),
});
}
export async function addSaleProperty(data) {
console.log('[API] Adding sale property');
return apiFetch('/SaleProperties/AddSaleProperty', {