mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-21 21:12:50 +01:00
Rename SieveConfig
This commit is contained in:
parent
7df97a6674
commit
45ef2a520e
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.Extensions.Options" Version="2.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Options" Version="2.0.0" />
|
||||||
|
<PackageReference Include="Newtonsoft.Json" Version="11.0.1-beta3" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -33,7 +33,7 @@ namespace SieveTests
|
|||||||
services.AddDbContext<ApplicationDbContext>(options =>
|
services.AddDbContext<ApplicationDbContext>(options =>
|
||||||
options.UseSqlServer(Configuration.GetConnectionString("TestSqlServer")));
|
options.UseSqlServer(Configuration.GetConnectionString("TestSqlServer")));
|
||||||
|
|
||||||
services.Configure<SieveOptions>(Configuration.GetSection("SieveConfig"));
|
services.Configure<SieveOptions>(Configuration.GetSection("Sieve"));
|
||||||
|
|
||||||
|
|
||||||
//services.AddScoped<ISieveProcessor, SieveProcessor>();
|
//services.AddScoped<ISieveProcessor, SieveProcessor>();
|
||||||
|
Loading…
Reference in New Issue
Block a user