I have a generic repository that I have been instantiating right in my WEB API Controller no problem for a while.
This is what my controller used to look like:
This happened to me when service class didn't inherit from IService interface