Added tooling

This commit is contained in:
2026-09-05 18:24:21 +02:00
parent 415aa30cf7
commit 81c111c3c3
20 changed files with 181 additions and 59 deletions
@@ -21,8 +21,7 @@ public sealed class UpdatePortfolioEndpoint : IEndpoint
{ IsSuccess: true } => Results.Ok(),
var r when r.HasError<NotFoundError>() => Results.NotFound(),
var r when r.HasError<IdDecodeError>() => Results.Forbid(),
var r when r.HasError<UpdateError>() => Results.BadRequest(),
var r when r.HasError<ValidationError>() => Results.BadRequest(r.Errors.ToProblems()),
var r when r.HasError<UpdateError>() => Results.BadRequest(r.Errors.ToProblems()),
var r => Results.InternalServerError(r.Errors.ToProblems())
})
.WithDescription("Update an existing organization portfolio")