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()); }
public ConfigWrapper(HoGentLendContext ctx) { this.ctx = ctx; this.configs = ctx.Configs; }