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