Reacting to DI changes

This commit is contained in:
Pranav K 2015-07-31 14:32:32 -07:00
parent 0926e0c280
commit e0abf70a80
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ namespace Microsoft.AspNet.Mvc.Core
private ActionDescriptorsCollection GetCollection()
{
var providers =
_serviceProvider.GetRequiredServices<IActionDescriptorProvider>()
_serviceProvider.GetServices<IActionDescriptorProvider>()
.OrderBy(p => p.Order)
.ToArray();