bind to property always return null
问题 I am trying to bind a repository to property using Ninject but always get null reference of binding object. I will explain the problem using code below. public interface IServiceRepository { User GetUser(string email); IQueryable<Statistic> GetStatisticForCurrentMonth(string ip); void InsertStatistic(ConversionModel conversionModel); class ServiceRepository : IServiceRepository { //Implementation of the Interface } I am would like to bind the repository above to class below while the class is