feat: submissions van een assignment geimplementeerd

This commit is contained in:
Adriaan Jacquet 2025-03-12 15:23:33 +01:00
parent 7c453467df
commit fd693dc55f
5 changed files with 58 additions and 4 deletions

View file

@ -47,6 +47,14 @@ export class SubmissionRepository extends DwengoEntityRepository<Submission> {
);
}
public findAllSubmissionsForGroup(
group: Group,
): Promise<Submission[]> {
return this.find(
{ onBehalfOf: group },
);
}
public deleteSubmissionByLearningObjectAndSubmissionNumber(
loId: LearningObjectIdentifier,
submissionNumber: number