joeharrison714 / MVCGrid.Net

http://mvcgrid.net
MIT License
75 stars 56 forks source link

How do you inject ICoursesService in the MVCGridConfig using Ninject? #127

Open MiBuena opened 7 years ago

MiBuena commented 7 years ago

I use Ninject as a dependency injector for my ASP.Net MVC application.

How can I inject my ICoursesService in the MVCGridConfig class in order to retrieve the necessary data for the table?

Thank you very much!

okankocyigit commented 6 years ago

have you found any solution?

MiBuena commented 6 years ago

Hi, I found a solution partly. I removed Ninject and installed Autofac as a container and it woked fine with MvcGrid.