add api เพิ่มเติมระบบลงเวลา
This commit is contained in:
parent
8782aec4c3
commit
19bcc6bed2
11 changed files with 291 additions and 11 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ using Microsoft.EntityFrameworkCore;
|
|||
|
||||
namespace BMA.EHR.Infrastructure.Persistence
|
||||
{
|
||||
public class LeaveDbContext : DbContext, IApplicationDBContext
|
||||
public class LeaveDbContext : DbContext, ILeaveDbContext
|
||||
{
|
||||
#region " Check-In "
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue