Skip to content

Commit ab5a629

Browse files
authored
Remove sync-over-async in EF6 code sample (#3899)
Closes #3898
1 parent a9f1426 commit ab5a629

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entity-framework/ef6/fundamentals/logging-and-interception.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ using (var context = new BlogContext())
4545

4646
blog.Posts.Add(new Post { Title = "I do not like them!" });
4747

48-
context.SaveChangesAsync().Wait();
48+
context.SaveChanges();
4949
}
5050
```
5151

0 commit comments

Comments
 (0)