Move extension method to IServiceCollection
This commit is contained in:
parent
57cf391581
commit
bd7ae6d8c0
|
|
@ -63,7 +63,7 @@ namespace Microsoft.Framework.DependencyInjection
|
||||||
return builder;
|
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 TUser : IdentityUser<TKey>, new()
|
||||||
where TRole : IdentityRole<TKey>, new()
|
where TRole : IdentityRole<TKey>, new()
|
||||||
where TContext : DbContext
|
where TContext : DbContext
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue