Changed to perform an async call
This commit is contained in:
parent
925f777d36
commit
0c4d4c03dc
@ -78,7 +78,7 @@ public static class SectionProcessor
|
|||||||
Depth = parent.Depth + 1,
|
Depth = parent.Depth + 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
db.Sections.Add(section);
|
await db.Sections.AddAsync(section);
|
||||||
await db.SaveChangesAsync();
|
await db.SaveChangesAsync();
|
||||||
return section;
|
return section;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user