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.
16 lines
462 B
16 lines
462 B
using LY.MicroService.Applications.Single.DataSeeder;
|
|
|
|
namespace LY.MicroService.Applications.Single;
|
|
|
|
public partial class MicroServiceApplicationsSingleModule
|
|
{
|
|
private static void ConfigureSeedWorker(IServiceCollection services, bool isDevelopment = false)
|
|
{
|
|
// services.AddHostedService<DataSeederWorker>();
|
|
|
|
if (isDevelopment)
|
|
{
|
|
services.AddHostedService<DataSeederWorker>();
|
|
}
|
|
}
|
|
}
|
|
|