pub async fn get_for_student(
conn: &mut PgConnection,
grading_id: Uuid,
user_id: Uuid,
) -> ModelResult<Option<ExerciseTaskGrading>>
Expand description
Fetches the grading for the student, but hides the result in some circumstances. For example, for an ongoing exam.