Update IRecDbContext to use domain model DbSet types

Changed DbSet properties in IRecDbContext from DTO types to their corresponding domain model classes for Connections, Endpoints, EndpointAuths, Profiles, and RecActions. This aligns the interface with the domain model and removes reliance on DTOs.
This commit is contained in:
2025-12-15 11:30:48 +01:00
parent 3da16ba640
commit 576b2d59d9

View File

@@ -15,15 +15,15 @@ public interface IRecDbContext
public DbSet<BodyQueryResult> BodyQueryResults { get; set; }
public DbSet<ConnectionDto> Connections { get; set; }
public DbSet<Connection> Connections { get; set; }
public DbSet<EndpointDto> Endpoints { get; set; }
public DbSet<Endpoint> Endpoints { get; set; }
public DbSet<EndpointAuthDto> EndpointAuths { get; set; }
public DbSet<EndpointAuth> EndpointAuths { get; set; }
public DbSet<ProfileDto> Profiles { get; set; }
public DbSet<Profile> Profiles { get; set; }
public DbSet<RecActionDto> RecActions { get; set; }
public DbSet<RecAction> RecActions { get; set; }
public Task<int> SaveChangesAsync(CancellationToken cancel = default);
}