async fn choose(
conn: &mut PgConnection,
row: &CreditRegistration,
context: &SubmissionContext,
enrolments: &[SuotarEnrolment],
existing: &[ExistingAttainment],
event: OutcomeEvent<'_>,
) -> Result<bool>Expand description
Applies the choice for one answered row. Returns whether the row ended up in a failure state.