I suppose this is an MVC controller. The MVC Framework will resolve a SomeController
not an ISomeController
. Hence your binding does not apply but Ninject will use the implicit binding SomeController
ToSelf
instead.
Create a binding for SomeController
ToSelf
instead.