Function headless_lms_models::exams::enroll
source · pub async fn enroll(
conn: &mut PgConnection,
exam_id: Uuid,
user_id: Uuid,
is_teacher_testing: bool
) -> ModelResult<()>
pub async fn enroll(
conn: &mut PgConnection,
exam_id: Uuid,
user_id: Uuid,
is_teacher_testing: bool
) -> ModelResult<()>