Changed to perform an async call

This commit is contained in:
Thorsten Sommer 2022-07-17 12:34:07 +02:00
parent 925f777d36
commit 0c4d4c03dc
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

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;
}