Files
minattest/backend/src/MinAttest.Application/Abstractions/IAppDbContext.cs
T
Stein Helge Riise ede31fbb7e Initial import
2025-11-17 08:32:46 +01:00

17 lines
485 B
C#

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);
}