Exemple #1
0
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);

            HoGentLendContext.Init();
            ModelBinders.Binders.Add(typeof(Gebruiker), new GebruikerModelBinder());
        }
Exemple #2
0
 public ConfigWrapper(HoGentLendContext ctx)
 {
     this.ctx     = ctx;
     this.configs = ctx.Configs;
 }