Ninject binding with generic repository MVC returns error on Parameterless Constructor

前端 未结 1 1869
难免孤独
难免孤独 2021-01-24 10:54

I\'m trying to use a fairly simple generic repository for a number of administration lists in an application. Functionality for the admin users is just CRUD to keep the lists up

相关标签:
1条回答
  • 2021-01-24 11:36

    You need to tell the MVC runtime to use Ninject to resolve your controllers, the easiest way to do this is install the MVC extension for Ninject

    0 讨论(0)
提交回复
热议问题