Added method to load single section

This commit is contained in:
tsommer committed 2022-07-12 20:49:31 +02:00
1 parent 4767aae217
commit aca986b18d
1 file changed
+2
@@ -135,4 +135,6 @@ public static class SectionProcessor
await db.SaveChangesAsync();
return section;
}
public static Section GetSection(DataContext db, string sectionKey) => db.Sections.First(n => n.DataKey == sectionKey);
}