Changed to perform an async call
This commit is contained in:
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user