public void Configure(IApplicationBuilder app, IHostingEnvironment env) { if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); } var config = new Configuration(); DatabaseSetup.Bootstrap(config.ConnectionString); app.UseMvc(); }