Saturday, March 9, 2019

SaveChangesAsync

await _context.SaveChangesAsync(); inside of an async method will be the thing you are awaiting when you call the method with await outside the method elsewhere in code. This was recommended to me to read on this subject.

No comments:

Post a Comment