refactor(core): DTOs und Services an Core 2.0.0.0 angepasst
This commit is contained in:
@@ -20,7 +20,7 @@ namespace DigitalData.UserManager.Application
|
||||
/// <param name="services">The IServiceCollection to which the services will be added.</param>
|
||||
/// <returns>The updated IServiceCollection.</returns>
|
||||
public static IServiceCollection AddUserManager<TDbContext>(this IServiceCollection services)
|
||||
where TDbContext : DbContext
|
||||
where TDbContext : DbContext, IUserManagerDbContext
|
||||
=> services
|
||||
.AddAutoMapper(typeof(UserMappingProfile).Assembly)
|
||||
.AddAutoMapper(typeof(GroupMappingProfile).Assembly)
|
||||
@@ -50,4 +50,4 @@ namespace DigitalData.UserManager.Application
|
||||
return services;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user