feat: submissions van een assignment geimplementeerd
This commit is contained in:
parent
7c453467df
commit
fd693dc55f
5 changed files with 58 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue