add api เพิ่มเติมระบบลงเวลา

This commit is contained in:
Suphonchai Phoonsawat 2023-11-13 16:56:17 +07:00
parent 8782aec4c3
commit 19bcc6bed2
11 changed files with 291 additions and 11 deletions

View file

@ -27,7 +27,7 @@ namespace BMA.EHR.Infrastructure
}),
ServiceLifetime.Transient);
services.AddScoped<IApplicationDBContext>(provider => provider.GetService<LeaveDbContext>());
services.AddScoped<ILeaveDbContext>(provider => provider.GetService<LeaveDbContext>());
return services;
}