17 lines
485 B
C#
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);
|
|
}
|