Skip to content

Commit

Permalink
Remove sync-over-async in EF6 code sample
Browse files Browse the repository at this point in the history
Closes #3898
  • Loading branch information
roji committed Jun 17, 2022
1 parent a9f1426 commit b7f00c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ using (var context = new BlogContext())

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

context.SaveChangesAsync().Wait();
context.SaveChanges();
}
```

Expand Down

0 comments on commit b7f00c3

Please sign in to comment.