Move extension method to IServiceCollection

This commit is contained in:
Hao Kung 2014-09-26 11:07:39 -07:00
parent 57cf391581
commit bd7ae6d8c0
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ namespace Microsoft.Framework.DependencyInjection
return builder;
}
public static IdentityBuilder<TUser, TRole> AddIdentitySqlServer<TContext, TUser, TRole, TKey>(this ServiceCollection services)
public static IdentityBuilder<TUser, TRole> AddIdentitySqlServer<TContext, TUser, TRole, TKey>(this IServiceCollection services)
where TUser : IdentityUser<TKey>, new()
where TRole : IdentityRole<TKey>, new()
where TContext : DbContext