// This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IHostingEnvironment env, WKContext context) { if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); app.UseBrowserLink(); app.UseDatabaseErrorPage(); } else { app.UseExceptionHandler("/Home/Error"); } app.UseStaticFiles(); app.UseAuthentication(); app.UseMvc(routes => { routes.MapRoute( name: "areaRoute", template: "{area:exists}/{controller=Maintain}/{action=Index}/{id?}"); routes.MapRoute( name: "default", template: "{controller=Home}/{action=Index}/{id?}"); }); DbInitializer.Initialize(context); }
public KnockoutController(WKContext context) { _context = context; }
public ToernooiOpvuller(WKContext context) { _context = context; }
public WedstrijdController(WKContext context) { _context = context; }
public ToernooiSimulator(WKContext context) { _context = context; _random = new Random(); _opvuller = new ToernooiOpvuller(_context); }
public SimulatieController(WKContext context) { _context = context; _simulator = new ToernooiSimulator(_context); }
public PouleController(WKContext context) { _context = context; }
public SpelerController(WKContext context) { _context = context; }