add repo
This commit is contained in:
parent
fd25873348
commit
2547590ce8
2 changed files with 3 additions and 2 deletions
|
|
@ -23,6 +23,7 @@ namespace BMA.EHR.Application
|
||||||
services.AddTransient<CommandStatusRepository>();
|
services.AddTransient<CommandStatusRepository>();
|
||||||
services.AddTransient<InsigniaPeriodsRepository>();
|
services.AddTransient<InsigniaPeriodsRepository>();
|
||||||
services.AddTransient<RetirementRepository>();
|
services.AddTransient<RetirementRepository>();
|
||||||
|
services.AddTransient<RetirementEmployeeRepository>();
|
||||||
services.AddTransient<UserProfileRepository>();
|
services.AddTransient<UserProfileRepository>();
|
||||||
services.AddTransient<OrganizationCommonRepository>();
|
services.AddTransient<OrganizationCommonRepository>();
|
||||||
services.AddTransient<InboxRepository>();
|
services.AddTransient<InboxRepository>();
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
||||||
[Produces("application/json")]
|
[Produces("application/json")]
|
||||||
[Authorize]
|
[Authorize]
|
||||||
[SwaggerTag("ระบบลาออกลูกจ้าง")]
|
[SwaggerTag("ระบบลาออกลูกจ้าง")]
|
||||||
public class RetirementResignEmployeeEmployeeController : BaseController
|
public class RetirementResignEmployeeController : BaseController
|
||||||
{
|
{
|
||||||
private readonly RetirementEmployeeRepository _repository;
|
private readonly RetirementEmployeeRepository _repository;
|
||||||
private readonly NotificationRepository _repositoryNoti;
|
private readonly NotificationRepository _repositoryNoti;
|
||||||
|
|
@ -33,7 +33,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
||||||
private readonly IConfiguration _configuration;
|
private readonly IConfiguration _configuration;
|
||||||
private readonly PermissionRepository _permission;
|
private readonly PermissionRepository _permission;
|
||||||
|
|
||||||
public RetirementResignEmployeeEmployeeController(RetirementEmployeeRepository repository,
|
public RetirementResignEmployeeController(RetirementEmployeeRepository repository,
|
||||||
NotificationRepository repositoryNoti,
|
NotificationRepository repositoryNoti,
|
||||||
ApplicationDBContext context,
|
ApplicationDBContext context,
|
||||||
MinIOService documentService,
|
MinIOService documentService,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue