Update README.md

This commit is contained in:
dlebee 2018-11-23 00:22:47 -06:00 committed by GitHub
parent 344caf689e
commit 625231384d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,9 +27,9 @@ public class Startup
{ {
public void ConfigureServices(IServiceCollection services) public void ConfigureServices(IServiceCollection services)
{ {
services.AddDynamicQueryDefaultMappings(); services
var minimumDependencyServiceProvider = services.BuildServiceProvider(); .AddMvc()
services.AddMvc().AddDynamicQueryJsonConverter(minimumDependencyServiceProvider); .AddPoweredSoftDynamicQuery();
} }
} }