agregado cambios para el fichero

This commit is contained in:
2025-12-17 13:57:28 +01:00
parent fbe1f2abf9
commit 0c2574885b
2 changed files with 9 additions and 3 deletions

View File

@@ -75,7 +75,7 @@ namespace APIFicheros.Controllers
try
{
int idFichero = Utilidades.guardarFichero(bd, datosFichero.fichero, datosFichero.nombreFichero, datosFichero.descripcion);
int idFichero = Utilidades.guardarFichero(bd, datosFichero.fichero, datosFichero.nombreFichero, datosFichero.descripcion, datosFichero.idDocumento);
documentospolizassg documentoObtenido = bd.documentospolizassg.First( x => x.idDocumento == datosFichero.idDocumento);