Skip to content

Commit

Permalink
Merge pull request #14 from GSA/ESCxxxx_update_USWD_lib
Browse files Browse the repository at this point in the history
dbContext dependency injection
  • Loading branch information
LeoCYang authored Jun 14, 2019
2 parents d1d6898 + 7edff4b commit a9763fd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ASP Core MVC Template/ASP Core MVC Template/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ public void ConfigureServices(IServiceCollection services)
options.MinimumSameSitePolicy = SameSiteMode.None;
});

//
// dependency injection for PostgreSQL or MySQL database context
//

// dbContext dependency injection code

services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1);
}
Expand Down

0 comments on commit a9763fd

Please sign in to comment.