feat: verbinding student submissions
This commit is contained in:
parent
788ca54742
commit
d8b97f3aea
4 changed files with 42 additions and 5 deletions
|
@ -55,6 +55,14 @@ export class SubmissionRepository extends DwengoEntityRepository<Submission> {
|
|||
);
|
||||
}
|
||||
|
||||
public findAllSubmissionsForStudent(
|
||||
student: Student,
|
||||
): Promise<Submission[]> {
|
||||
return this.find(
|
||||
{ submitter: student },
|
||||
);
|
||||
}
|
||||
|
||||
public deleteSubmissionByLearningObjectAndSubmissionNumber(
|
||||
loId: LearningObjectIdentifier,
|
||||
submissionNumber: number
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue