From 576b2d59d9ae8e7f4a8b1104f0fbfaf8f4647719 Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 15 Dec 2025 11:30:48 +0100 Subject: [PATCH] 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. --- src/ReC.Application/Common/Interfaces/IRecDbContext.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ReC.Application/Common/Interfaces/IRecDbContext.cs b/src/ReC.Application/Common/Interfaces/IRecDbContext.cs index f0e2bf4..e0046fc 100644 --- a/src/ReC.Application/Common/Interfaces/IRecDbContext.cs +++ b/src/ReC.Application/Common/Interfaces/IRecDbContext.cs @@ -15,15 +15,15 @@ public interface IRecDbContext public DbSet BodyQueryResults { get; set; } - public DbSet Connections { get; set; } + public DbSet Connections { get; set; } - public DbSet Endpoints { get; set; } + public DbSet Endpoints { get; set; } - public DbSet EndpointAuths { get; set; } + public DbSet EndpointAuths { get; set; } - public DbSet Profiles { get; set; } + public DbSet Profiles { get; set; } - public DbSet RecActions { get; set; } + public DbSet RecActions { get; set; } public Task SaveChangesAsync(CancellationToken cancel = default); } \ No newline at end of file