Good stuff.
Marcus Braun

Hello Marcus, Thanks.

I wan’t to be able to mock the DbContext when I’m writing unit tests. So we rather want to provide dependencies in the constructor. Test driven development.

Like what you read? Give Kristoffer Karlsson a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.