Quantcast
Channel: User Álvaro García - Software Engineering Stack Exchange
Viewing all articles
Browse latest Browse all 41

Comment by Álvaro García on Why is it so common to use the dbContext directly in the controller in a WebApi application?

$
0
0
Thanks for the answer. I understand for small projects it could be over engineering, but if in the future I want to update to a new version of entity core, that perhaps changes methods, or change behaviour of some methods, that has passed in the past. Wouldn't it too much work change the code of all controllers and check if it works? If I implement a new repository that I test that it works as the controllers expect, wouldn't it better?

Viewing all articles
Browse latest Browse all 41

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>