public static int ActualizarOrdenViaticos(TBL_CABECERAORDENVIATICO orden) { try { contexto = new EmpresaPK2Entities(); contexto.SP_ACTUALIZAR_ORDEN_VIATICO(orden.ID_ORDEN, orden.ID_SOLICITUD, orden.ESTADOORDEN, orden.FECHAORDEN); } catch (Exception ex) { throw ex; } finally { if (contexto != null) { contexto.Dispose(); } } return(1); }