commision controller not deleting fix

This commit is contained in:
Filip Izydorczyk
2021-01-19 09:32:57 +01:00
parent 5ec41fa5d0
commit 06fb41b5dd
2 changed files with 16 additions and 3 deletions

View File

@ -106,4 +106,12 @@ public class AssignmentService {
this.emailService.sendAcceptationResult(e, new EmailAcceptedData(accepted, removed));
});
}
/**
* @param toSave list of entites to save to db
* @return list of assignments entities with ids from db
*/
public List<Assignment> saveAll(List<Assignment> toSave) {
return this.repo.saveAll(toSave);
}
}