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
465 B
15 lines
465 B
using Microsoft.Extensions.DependencyInjection;
|
|
using LY.MicroService.WebhooksManagement.DataSeeder;
|
|
|
|
namespace LY.MicroService.WebhooksManagement;
|
|
|
|
public partial class WebhooksManagementHttpApiHostModule
|
|
{
|
|
private static void ConfigureSeedWorker(IServiceCollection services, bool isDevelopment = false)
|
|
{
|
|
if (isDevelopment)
|
|
{
|
|
services.AddHostedService<WebhooksManagementDataSeederWorker>();
|
|
}
|
|
}
|
|
}
|
|
|