Updated to use new UseServices API
This commit is contained in:
parent
c4f01b8ec9
commit
73b7509368
|
|
@ -9,7 +9,7 @@ namespace MvcSample.Web
|
||||||
{
|
{
|
||||||
public void Configuration(IBuilder app)
|
public void Configuration(IBuilder app)
|
||||||
{
|
{
|
||||||
app.UseContainer(services =>
|
app.UseServices(services =>
|
||||||
{
|
{
|
||||||
services.AddMvc();
|
services.AddMvc();
|
||||||
services.AddSingleton<PassThroughAttribute, PassThroughAttribute>();
|
services.AddSingleton<PassThroughAttribute, PassThroughAttribute>();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue