using BMA.EHR.Application.Common.Interfaces; using BMA.EHR.Domain.Models.Leave.TimeAttendants; using Microsoft.EntityFrameworkCore; namespace BMA.EHR.Infrastructure.Persistence { public class LeaveDbContext : DbContext, ILeaveDbContext { #region " Check-In " public DbSet DutyTimes { get; set; } public DbSet UserTimeStamps { get; set; } #endregion public LeaveDbContext(DbContextOptions options) : base(options) { } public Task SaveChangesAsync() { return base.SaveChangesAsync(); } public void Attatch(T entity) where T : class { Attach(entity); } } }