Call `UseMvc()` instead of `UseMvcWithDefaultRoute()` (#4204)

pull/4209/head
Bader Nasser Al-Hashmi 2017-09-05 17:54:25 +04:00 committed by Scott Addie
parent a33767db54
commit 7c63421a6d
1 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,8 @@ namespace TodoApi
c.SwaggerEndpoint("/swagger/v1/swagger.json", "My API V1");
});
app.UseMvcWithDefaultRoute();
app.UseMvc();
}
#endregion
}
}
}