Right now all old availabilities are removed on startup & after 12am.
This removes booked availabilities so that caregivers can't change their status.
- Adjust the BackgroundService to only remove AvailableSlots that doesn't have an appointment.
This can be achieved by .where(a => a.IsBooked != true).
Right now all old availabilities are removed on startup & after 12am.
This removes booked availabilities so that caregivers can't change their status.
This can be achieved by .where(a => a.IsBooked != true).