Refactor constants and update CreateHistoryCommand

Updated `CreateHistoryCommand.cs` to use the `EnvelopeStatus` enum directly from the `EnvelopeGenerator.Domain.Constants` namespace. Refactored `Constants.cs` to consolidate multiple enums related to statuses, types, and roles. Modified `Fake.cs` to align with the new enum structure and introduced `Value.cs` for better organization of constant string values. Overall, these changes enhance code clarity and maintainability.
This commit is contained in:
2025-09-01 10:41:36 +02:00
parent ae4f5560fe
commit fc4187bb9e
16 changed files with 182 additions and 175 deletions

View File

@@ -0,0 +1,8 @@
namespace EnvelopeGenerator.Domain.Constants
{
public enum DocumentStatus
{
Created = 0,
Signed = 1
}
}