I study mvc 5 on metanit. I got to the application architecture point. And then a lot of questions arose. I study specifically onion architecture and the principle of UnitOfWork. And in connection with these points I had a question:

If I use the principle of UnitOfWork, I don’t have to create a controller constructor with parameters. And it turns out everything already works without Ninject and the essence of the question is as follows. Why then do you need dependency injection with Ninject.

0