13 lines
413 B
C#
13 lines
413 B
C#
using JSMR.Application.Enums;
|
|
using JSMR.Application.Scanning.Ports;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace JSMR.Infrastructure.Ingestion;
|
|
|
|
public class VoiceWorkUpdaterRepository(IServiceProvider serviceProvider) : IVoiceWorkUpdaterRepository
|
|
{
|
|
public IVoiceWorkUpdater? GetUpdater(Locale locale)
|
|
{
|
|
return serviceProvider.GetKeyedService<IVoiceWorkUpdater>(locale);
|
|
}
|
|
} |