Consolidated DTOs under `DocumentService.Application.Common.DTOs.Requests` to centralize and align them with the application layer. Introduced `PdfBase64RequestBase` to encapsulate shared properties, reducing redundancy across request DTOs. Updated controllers, clients, and tests to use the new DTO structure. Removed redundant DTOs and cleaned up unused namespaces and comments. Improved documentation and ensured consistent naming conventions across the codebase.
12 lines
347 B
C#
12 lines
347 B
C#
namespace DocumentService.Application.Common.DTOs.Requests;
|
|
|
|
/// <summary>
|
|
/// Request DTO for Base64-encoded PDF ZUGFeRD check
|
|
/// </summary>
|
|
public record HasZugferdRequest : PdfBase64RequestBase;
|
|
|
|
/// <summary>
|
|
/// Request DTO for Base64-encoded PDF ZUGFeRD extraction
|
|
/// </summary>
|
|
public record ExtractZugferdRequest : PdfBase64RequestBase;
|