Files
jsmr/JSMR.Application/DI/ApplicationServiceCollectionExtensions.cs
2025-08-26 09:20:13 -04:00

21 lines
674 B
C#

using JSMR.Application.Tags.Commands.SetEnglishName;
using JSMR.Application.Tags.Commands.UpdateTagStatus;
using JSMR.Application.VoiceWorks.Search;
using Microsoft.Extensions.DependencyInjection;
namespace JSMR.Application.DI;
public static class ApplicationServiceCollectionExtensions
{
public static IServiceCollection AddApplication(this IServiceCollection services)
{
// Handlers / Use-cases
//services.AddScoped<SearchVoiceWorksHandler>();
//services.AddScoped<ScanVoiceWorksHandler>();
services.AddScoped<SetTagEnglishNameHandler>();
services.AddScoped<UpdateTagStatusHandler>();
return services;
}
}