Cleaned code

This commit is contained in:
2026-05-24 17:24:44 +01:00
parent 656100d15e
commit 1434a5d77a
88 changed files with 197 additions and 213 deletions
@@ -10,7 +10,7 @@ namespace PyroFetes.Endpoints.Quotations;
public class GetQuotationPdfEndpoint(
QuotationsRepository quotationRepository,
IQuotationPdfService quotationPdfService,
IQuotationPdfService quotationPdfService,
SettingsRepository settingsRepository)
: Endpoint<GetQuotationPdfDto, byte[]>
{
@@ -32,7 +32,7 @@ public class GetQuotationPdfEndpoint(
}
Setting? setting = await settingsRepository.FirstOrDefaultAsync(ct);
byte[] bytes = quotationPdfService.Generate(quotation, quotation.QuotationProducts!, setting!);
await Send.BytesAsync(