Commit
9a02bcc92d92d9edb62dc9f16bcc81ebf69cfb88
by mandvi.vermafeat: Implement enrollment deletion
Adds the functionality to delete an enrollment record. This includes:
- Adding `deleteEnrollment` functions to the `EnrollmentDataSource` interface and its various implementations (HTTP, DB, repository).
- Implementing the database deletion logic in `EnrollmentEntityDao` with a new SQL `DELETE` query.
- Adding a `DELETE` request to the HTTP data source.
- Queuing the deletion for remote write in the repository.
- Calling the new `deleteEnrollment` function from the `EnrollmentListViewModel` and invalidating the paging source to refresh the list.
(commit: 9a02bcc)