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