From bd7ae6d8c0f91e98735a0cd14abdaf2c862cf5dd Mon Sep 17 00:00:00 2001 From: Hao Kung Date: Fri, 26 Sep 2014 11:07:39 -0700 Subject: [PATCH] Move extension method to IServiceCollection --- .../IdentityEntityFrameworkServiceCollectionExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNet.Identity.SqlServer/IdentityEntityFrameworkServiceCollectionExtensions.cs b/src/Microsoft.AspNet.Identity.SqlServer/IdentityEntityFrameworkServiceCollectionExtensions.cs index 2cbd46319d..a75a3ca796 100644 --- a/src/Microsoft.AspNet.Identity.SqlServer/IdentityEntityFrameworkServiceCollectionExtensions.cs +++ b/src/Microsoft.AspNet.Identity.SqlServer/IdentityEntityFrameworkServiceCollectionExtensions.cs @@ -63,7 +63,7 @@ namespace Microsoft.Framework.DependencyInjection return builder; } - public static IdentityBuilder AddIdentitySqlServer(this ServiceCollection services) + public static IdentityBuilder AddIdentitySqlServer(this IServiceCollection services) where TUser : IdentityUser, new() where TRole : IdentityRole, new() where TContext : DbContext