using Microsoft.EntityFrameworkCore; namespace BMA.EHR.Application.Common.Interfaces { public interface IApplicationDBContext { DbSet Set() where T : class; void Attatch(T entity) where T : class; Task SaveChangesAsync(); } }