Hi Mohammad,
I wanted to ask about the benefits of using a disposable UnitOfWork and manually disposing of the context. Since you have registered both DbContext and UnitOfWork in the DI container, is there any distinctive benefit to doing it this way ?
Hi Mohammad,
I wanted to ask about the benefits of using a disposable UnitOfWork and manually disposing of the context. Since you have registered both DbContext and UnitOfWork in the DI container, is there any distinctive benefit to doing it this way ?