Changed to perform an async call

This commit is contained in:
tsommer committed 2022-07-17 12:34:07 +02:00
1 parent 925f777d36
commit 0c4d4c03dc
1 file changed
+1 -1
+1 -1
View File
@@ -78,7 +78,7 @@ public static class SectionProcessor
Depth = parent.Depth + 1,
};
db.Sections.Add(section);
await db.Sections.AddAsync(section);
await db.SaveChangesAsync();
return section;
}