Added API for notifications and edit style

This commit is contained in:
Rahaf
2026-04-15 12:07:39 +03:00
parent ae600ad41b
commit 9c2a748ae9
5 changed files with 135 additions and 79 deletions

View File

@ -366,3 +366,7 @@ export async function addFavoriteProperty(propId) {
export async function removeFavoriteProperty(favePropId) {
return apiFetch(`/FavoriteProperty/Remove?favePropId=${favePropId}`, { method: 'DELETE' });
}
export async function getUserNotifications() {
return apiFetch('/Notifications/GetUserNotifications');
}