The Data Contract: Generic Repositories & EF Core Interceptors
In Part 2, we built the BaseEntity<TKey>. We decided that our entities would not just hold data; they would record events (Side Effects).
Now, we need to save these entities.
A Junior Developer writes DbContext code directly inside the API Controller...
shawnbellazan.hashnode.dev3 min read