Vote count:
0
I am working on a module in ASP.net MVC app where I have a singleton class which wants to query from database and then do some processing. I repository pattern where my repo is ex: IQueueProcessRepository which I would I want to inject to my single classes private constructor.
I am not finding a way to do that. Could someone please explain how to do this?
You could also rectify if what I am trying to do is wrong. Thanks
asked 21 secs ago
How to inject dependency to private constructor?
Aucun commentaire:
Enregistrer un commentaire