Initial import
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using MinAttest.Domain.Entities;
|
||||
|
||||
namespace MinAttest.Application.Abstractions;
|
||||
|
||||
public interface IAppDbContext
|
||||
{
|
||||
DbSet<Person> Persons { get; }
|
||||
DbSet<Employer> Employers { get; }
|
||||
DbSet<Attest> Attests { get; }
|
||||
DbSet<ShareLink> ShareLinks { get; }
|
||||
DbSet<AuditLog> AuditLogs { get; }
|
||||
DbSet<EmployerUser> EmployerUsers { get; }
|
||||
|
||||
Task<int> SaveChangesAsync(CancellationToken cancellationToken = default);
|
||||
}
|
||||
Reference in New Issue
Block a user