pub async fn set_enrolment_confirmed(
conn: &mut PgConnection,
course_module_completion_id: Uuid,
confirmed: bool,
) -> ModelResult<EnrolmentRouteAnswer>Expand description
Sets or clears the Done the student pressed to say they had enrolled.
Errors with not-found when the student has not answered yet.