hrms-api-backend/BMA.EHR.Application/Common/Interfaces/ILeaveDbContext.cs
Suphonchai Phoonsawat 069f427459
Some checks failed
release-dev / release-dev (push) Failing after 13s
fix : Update LeaveRequest Error Tracking Entity Id
2024-09-13 09:56:30 +07:00

15 lines
327 B
C#

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;
void Detach<T>(T entity) where T : class;
Task<int> SaveChangesAsync();
}
}