Refactored endpoints to be more functional and more expressive

This commit is contained in:
2026-09-01 11:23:25 +02:00
parent 346cb8da5f
commit 2df5b5c2ed
86 changed files with 1565 additions and 1575 deletions
@@ -0,0 +1,14 @@
namespace PostFundManagement.Domain.Errors;
public sealed class NotFoundError : Error
{
public static NotFoundError New { get; } = new();
public NotFoundError() : base(string.Empty) { }
public NotFoundError(string Message) : base(Message) { }
public static NotFoundError Create() => new();
public static NotFoundError Create(string message) => new(message);
}