I wanna use constructor method like below for dependency injection, How can I use the repository pattern in this case?
The code bellow does not work and it gives me the c