Update IoC and the "GET" function in the repository (lock issue)
This commit is contained in:
@@ -35,7 +35,7 @@ namespace skydiveLogs_api
|
||||
});
|
||||
|
||||
// IoC
|
||||
var iocService = new IocService(services);
|
||||
var iocService = new IocService(services, Configuration);
|
||||
iocService.Configure();
|
||||
|
||||
services.AddAutoMapper(typeof(Mapper.ModelProfile));
|
||||
|
||||
@@ -6,6 +6,6 @@
|
||||
},
|
||||
"AllowedHosts": "*",
|
||||
"ConnectionStrings": {
|
||||
"JumpsDatabase": "Filename=./Data/JumpsDb.db"
|
||||
"DefaultConnection": "Filename=./Data/JumpsDb.db"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,11 +8,11 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Remove="Data\MyData.db" />
|
||||
<None Remove="Data\JumpsDb.db" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="Data\MyData.db">
|
||||
<Content Include="Data\JumpsDb.db">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user