private void AddBindings()
        {
            List<Product> list = new List<Product>{
                new Product{ Name="Football",Price=25},
                new Product{ Name="Surf board",Price=179},
                new Product{ Name="Running shoes",Price=95}
            };
            Mock<IProductRepository> mock = new Mock<IProductRepository>();
            mock.Setup(m => m.Products).Returns(list.AsQueryable());
            ninjectKernel.Bind<IProductRepository>().To<EFProductRepository>();

            EmailSetting emailSetting = new EmailSetting();
            ninjectKernel.Bind<IOrderProcessor>().To<EmailOrderProcessor>().WithConstructorArgument("setting", emailSetting);
            ninjectKernel.Bind<IAuthProvider>().To<FormsAuthProvider>();
        }
 public EmailOrderProcessor(EmailSetting setting)
 {
     emailSetting = setting;
 }