/// <summary> /// Almacena el registro de una ENTIDAD de registro de Tipo Justificaciones /// En la BASE de DATO la Tabla : [Asistencia.Justificaciones] /// <summary> /// <param name = >itemJustificaciones</param> public bool Update(BEJustificacion itemJustificaciones) { int codigoRetorno = -1; try { using (_CROMTimeDataContext SQLDC = new _CROMTimeDataContext(conexion)) { codigoRetorno = SQLDC.omgc_mnt_UpdateJustificaciones( itemJustificaciones.CodigoJustificacion, itemJustificaciones.Descripcion, itemJustificaciones.EsRemunerable, itemJustificaciones.EsEspecial, itemJustificaciones.EsEliminado, itemJustificaciones.EnlaceJustificacion, itemJustificaciones.CodigoArguTeclaReloj, itemJustificaciones.CodigoArguNombreReloj, itemJustificaciones.CodigoArguComputa, itemJustificaciones.Estado, itemJustificaciones.SegUsuarioEdita); } } catch (Exception ex) { throw ex; } return(codigoRetorno == 0 ? true : false); }