You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
422 B
15 lines
422 B
using LY.MicroService.AuthServer.DataSeeder;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace LY.MicroService.AuthServer;
|
|
|
|
public partial class AuthServerModule
|
|
{
|
|
private static void ConfigureSeedWorker(IServiceCollection services, bool isDevelopment = false)
|
|
{
|
|
if (isDevelopment)
|
|
{
|
|
services.AddHostedService<AuthServerDataSeederWorker>();
|
|
}
|
|
}
|
|
}
|
|
|