feat(controller): add GetAllAsync endpoint to HistoryController
- Added a new `GetAllAsync` method to HistoryController to retrieve envelope histories. - Included query parameters for filtering by envelopeId, userReference, referenceType, status, and boolean flags for sender and receiver. - Implemented validation of `referenceType` with `ReferenceType` enum, throwing an error for invalid values.
This commit is contained in:
@@ -19,7 +19,7 @@ namespace EnvelopeGenerator.Domain.Entities
|
||||
|
||||
[Required]
|
||||
[Column("USER_REFERENCE", TypeName = "nvarchar(128)")]
|
||||
public string UserReference { get; set; }
|
||||
public required string UserReference { get; init; }
|
||||
|
||||
[Required]
|
||||
[Column("STATUS")]
|
||||
|
||||
Reference in New Issue
Block a user