- MessageValidationService: title/body/image_url/link_url/link_type/data 검증 - POST /v1/in/message/validate 엔드포인트 추가 - MessageController 기반 구성 Closes #118
27 lines
1.0 KiB
C#
27 lines
1.0 KiB
C#
using Microsoft.Extensions.DependencyInjection;
|
|
using SPMS.Application.Interfaces;
|
|
using SPMS.Application.Services;
|
|
|
|
namespace SPMS.Application;
|
|
|
|
public static class DependencyInjection
|
|
{
|
|
public static IServiceCollection AddApplication(this IServiceCollection services)
|
|
{
|
|
// Application Services
|
|
services.AddScoped<IAuthService, AuthService>();
|
|
services.AddScoped<IAccountService, AccountService>();
|
|
services.AddScoped<IServiceManagementService, ServiceManagementService>();
|
|
services.AddScoped<INoticeService, NoticeService>();
|
|
services.AddScoped<IBannerService, BannerService>();
|
|
services.AddScoped<IFaqService, FaqService>();
|
|
services.AddScoped<IAppConfigService, AppConfigService>();
|
|
services.AddScoped<IDeviceService, DeviceService>();
|
|
services.AddScoped<IFileService, FileService>();
|
|
services.AddScoped<IPushService, PushService>();
|
|
services.AddSingleton<IMessageValidationService, MessageValidationService>();
|
|
|
|
return services;
|
|
}
|
|
}
|