From e4db7acf1571d780652da8ce58e7a32e1c4e353b Mon Sep 17 00:00:00 2001 From: Koen Metsu Date: Thu, 16 Jan 2025 19:27:59 +0100 Subject: [PATCH] feat: or-2350 add naam of duplicate vereniging --- .../Administratie/DubbelControle/DubbelControleController.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/AssociationRegistry.Admin.Api/Administratie/DubbelControle/DubbelControleController.cs b/src/AssociationRegistry.Admin.Api/Administratie/DubbelControle/DubbelControleController.cs index b6e2a3934..cf0d3630b 100644 --- a/src/AssociationRegistry.Admin.Api/Administratie/DubbelControle/DubbelControleController.cs +++ b/src/AssociationRegistry.Admin.Api/Administratie/DubbelControle/DubbelControleController.cs @@ -31,6 +31,7 @@ [FromServices] IDuplicateVerenigingDetectionService duplicateVerenigingDetection : MinimumScore.Default); return Ok(result.Select(x => new DubbelControleResponse(x.VCode, + x.Naam, x.Scoring.Explanation, x.Scoring.Score.Value))); } @@ -42,14 +43,16 @@ public DubbelControleResponse() } - public DubbelControleResponse(string vCode, string explanation, double score) + public DubbelControleResponse(string vCode, string naam, string explanation, double score) { VCode = vCode; + Naam = naam; Explanation = explanation; Score = score; } public string VCode { get; set; } + public string Naam { get; } public string Explanation { get; set; } public double Score { get; set; } }