-
I have two service classes, ServiceA and ServiceB. ServiceA class calls ServiceB. Both have a few repo/datastore dependencies. All service and repo classes are registered using services.AddScoped. For some reason, ModularTenantContainerMiddleware was triggered in middle of code execution. As a result, Session.Dispose() was called and the following exception was thrown in ServiceB. |
Beta Was this translation helpful? Give feedback.
Answered by
duxonline
Jan 30, 2023
Replies: 1 comment
-
The issue has been resolved now. I missed await when calling ServiceB. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
duxonline
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The issue has been resolved now. I missed await when calling ServiceB.