DEV Community

loading...

Discussion on: All CRUD Operations with Entity Framework Core (GET, POST, PUT & DELETE)

Collapse
samselfridge profile image
samselfridge • Edited

Curious why theres Update(), Remove(), Add(), but also AddAsync().

Going by this SO answer, its in the lang for special cases and we should probably be using the sync Add() version in this example - plus it keeps things consistent over the CRUD operations.

stackoverflow.com/a/42042173/901311

Forem Open with the Forem app