Skip to content

Commit

Permalink
feat: or-2350 add naam of duplicate vereniging
Browse files Browse the repository at this point in the history
  • Loading branch information
koenmetsu committed Jan 16, 2025
1 parent c44eb43 commit e4db7ac
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
}
Expand All @@ -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; }
}

0 comments on commit e4db7ac

Please sign in to comment.