I am making a WinForms application using Code First and Ef Core. The problem is the amount of dependencies I have to deal with. This is how my class currently looks.
Each of my services needs a db context as well, so you can imagine how ugly it would look.
I am trying to imitate the ASP.NET Core MVC architecture inside my app.
Models(db models)
Views(in my case just Forms)
Controllers(they get a form and populate it with data using the services, after that they return the form)
What is the best way to deal with the dependencies in my WinForms app, knowing that In the future I will have more services and more classes that need them?