- POST /v1/in/stats/daily: 기간별 일별 통계 - POST /v1/in/stats/summary: 대시보드 요약 통계 - POST /v1/in/stats/message: 메시지별 발송 통계 - POST /v1/in/stats/hourly: 시간대별 발송 추이 - POST /v1/in/stats/device: 디바이스 분포 통계 - IDailyStatRepository, DailyStatRepository 신규 - IPushSendLogRepository 통계 메서드 확장 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
29 lines
1.1 KiB
C#
29 lines
1.1 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>();
|
|
services.AddScoped<IMessageService, MessageService>();
|
|
services.AddScoped<IStatsService, StatsService>();
|
|
|
|
return services;
|
|
}
|
|
}
|