refactor(history): introduce extension method and remove AutoMapper dependency
- Added `CountHistoryQueryExtensions.AnyHistoryAsync` for cleaner query usage via `ISender`. - Removed `IMapper` from `CountHistoryQueryHandler` as it was unused. - Removed unnecessary `using` directives to simplify imports. - Kept query handling logic intact.
This commit is contained in:
@@ -13,10 +13,10 @@ public record HistoryQueryBase
|
||||
/// Die eindeutige Kennung des Umschlags.
|
||||
/// </summary>
|
||||
[Required]
|
||||
public int EnvelopeId { get; init; }
|
||||
public int EnvelopeId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Der Include des Umschlags, der abgefragt werden soll. Kann optional angegeben werden, um die Ergebnisse zu filtern.
|
||||
/// </summary>
|
||||
public EnvelopeStatus? Status { get; init; }
|
||||
public EnvelopeStatus? Status { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user