- ServiceController: 서비스 목록/상세/상태변경 엔드포인트 - ServiceManagementService: 비즈니스 로직 구현 - Service DTOs: 요청/응답 DTO 4종 - DI 등록 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
19 lines
549 B
C#
19 lines
549 B
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>();
|
|
|
|
return services;
|
|
}
|
|
}
|