--Se arregló el PA_Trans_ViajesPasajerosAdd

This commit is contained in:
AbrahamCastilloV
2023-12-26 20:57:43 -07:00
parent 6b0047351a
commit cdfa334cd0
3 changed files with 10 additions and 3 deletions

View File

@@ -152,12 +152,13 @@ Partial Class Boletos
If retorno > 1 Then
ObjTransporte.Commit()
Alert("Boleto creado correctamente.")
End If
Catch ex As Exception
Alert($"No se pudo generar el boleto {ex}", TipoMensaje.MsgError)
Finally
ObjTransporte.Dispose()
Response.Redirect($"/Transportes/Boletos.aspx?CveViaje={CveViaje}")
End Try
End Sub