21 lines
674 B
C#
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;
|
|
}
|
|
} |