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:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user