AccountManagement.Infrastructure.NinjectControllerFactory.MyAppModules.Load C# (CSharp) Method

Load() public method

public Load ( ) : void
return void
            public override void Load()
            {
                //Todo: Need more work and test
                var db = new AccountDbContext();
                var ac = new AccountsRepository(db);
                //Todo: Bind your interfaces to their impelementors
                Bind<IAccountsRepository>().ToConstant<AccountsRepository>(ac).InSingletonScope();
            }
NinjectControllerFactory.MyAppModules