Mocked DbContext throws exception when execute async operations
I have the following problem. Maybe one of you have similar problem. I want to mock DbContext to test my repository class. This is a code which i want to test:
I have the following problem. Maybe one of you have similar problem. I want to mock DbContext to test my repository class. This is a code which i want to test: