feat: add student master data import

This commit is contained in:
2026-08-17 13:12:03 +02:00
parent 9286bfa3b5
commit 37f4fee574
18 changed files with 2359 additions and 13 deletions
@@ -37,6 +37,8 @@ public class StudentRepository(LiteDbContext db) : IStudentRepository
db.Documentation.Count(d => d.StudentId == studentId));
public void Save(Student s)
{
s.ExternalIds ??= [];
s.Contacts ??= [];
s.UpdatedAt = DateTime.UtcNow;
db.Students.Upsert(s);
db.OnChange?.Invoke(nameof(Student), s.Id.ToString(), "Save", s);