Ninject : Constructor parameter
I am using Ninject together with ASP.NET MVC 4. I am using repositories and want to do constructor injection to pass in the repository to one of the controllers. This is my Repository interface: public interface IRepository<T> where T : TableServiceEntity { void Add(T item); void Delete(T item); void Update(T item); IEnumerable<T> Find(params Specification<T>[] specifications); IEnumerable<T> RetrieveAll(); void SaveChanges(); } The AzureTableStorageRepository below is an implementation of IRepository<T> : public class AzureTableRepository<T> : IRepository<T> where T : TableServiceEntity {