From 2547590ce830ee5f9cd9e1112f819592bdfa3e8a Mon Sep 17 00:00:00 2001 From: moss <> Date: Wed, 28 May 2025 15:19:02 +0700 Subject: [PATCH] add repo --- BMA.EHR.Application/ApplicationServicesRegistration.cs | 1 + .../Controllers/RetirementResignEmployeeController.cs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/BMA.EHR.Application/ApplicationServicesRegistration.cs b/BMA.EHR.Application/ApplicationServicesRegistration.cs index 987de7c3..350b7a75 100644 --- a/BMA.EHR.Application/ApplicationServicesRegistration.cs +++ b/BMA.EHR.Application/ApplicationServicesRegistration.cs @@ -23,6 +23,7 @@ namespace BMA.EHR.Application services.AddTransient(); services.AddTransient(); services.AddTransient(); + services.AddTransient(); services.AddTransient(); services.AddTransient(); services.AddTransient(); diff --git a/BMA.EHR.Retirement.Service/Controllers/RetirementResignEmployeeController.cs b/BMA.EHR.Retirement.Service/Controllers/RetirementResignEmployeeController.cs index bfde334c..670555c0 100644 --- a/BMA.EHR.Retirement.Service/Controllers/RetirementResignEmployeeController.cs +++ b/BMA.EHR.Retirement.Service/Controllers/RetirementResignEmployeeController.cs @@ -23,7 +23,7 @@ namespace BMA.EHR.Retirement.Service.Controllers [Produces("application/json")] [Authorize] [SwaggerTag("ระบบลาออกลูกจ้าง")] - public class RetirementResignEmployeeEmployeeController : BaseController + public class RetirementResignEmployeeController : BaseController { private readonly RetirementEmployeeRepository _repository; private readonly NotificationRepository _repositoryNoti; @@ -33,7 +33,7 @@ namespace BMA.EHR.Retirement.Service.Controllers private readonly IConfiguration _configuration; private readonly PermissionRepository _permission; - public RetirementResignEmployeeEmployeeController(RetirementEmployeeRepository repository, + public RetirementResignEmployeeController(RetirementEmployeeRepository repository, NotificationRepository repositoryNoti, ApplicationDBContext context, MinIOService documentService,