add api เพิ่มเติมระบบลงเวลา
This commit is contained in:
parent
8782aec4c3
commit
19bcc6bed2
11 changed files with 291 additions and 11 deletions
13
BMA.EHR.Application/Common/Interfaces/ILeaveDbContext.cs
Normal file
13
BMA.EHR.Application/Common/Interfaces/ILeaveDbContext.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace BMA.EHR.Application.Common.Interfaces
|
||||
{
|
||||
public interface ILeaveDbContext
|
||||
{
|
||||
DbSet<T> Set<T>() where T : class;
|
||||
|
||||
void Attatch<T>(T entity) where T : class;
|
||||
|
||||
Task<int> SaveChangesAsync();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue