Commit 3861b7d6 authored by Cristian Cubillos Torres's avatar Cristian Cubillos Torres
Browse files

Refactor XML serialization in Program.cs

parent 45b458c4
......@@ -32,7 +32,7 @@ app.MapPost("/Dte", (SourceClass request, IMapper mapper) =>
// Mapea el SourceClass a la entidad DTE
var dte = mapper.Map<DTE>(request);
// Serializa el objeto DTE a XML
// Serializa el objeto DTE a XML sdas
var xmlContent = SerializeToXml(dte);
// Retorna el XML como respuesta
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment