/// <summary> /// ELIMINA un registro de la Entidad Asistencia.Marcaciones /// En la BASE de DATO la Tabla : [Asistencia.Marcaciones] /// <summary> /// <returns>bool</returns> public bool Delete(string prm_IdRegistro) { int codigoRetorno = -1; try { using (_CROMTimeDataContext SQLDC = new _CROMTimeDataContext(conexion)) { codigoRetorno = SQLDC.omgc_mnt_DeleteMarcaciones(prm_IdRegistro); } } catch (Exception ex) { throw ex; } return(codigoRetorno == 0 ? true : false); }