var resManagerGroup = (from objManagerGroup in objEntities.LK_MANAGER_GROUP where objManagerGroup.user_id == iManagerId && objManagerGroup.group_id != null select new { groupId = objManagerGroup.group_id }); var resAssessmentForMarking = (from objAssessmentsForEvaluation in objEntities.UL_ASSESSMENT_EVALUATION_BY_MANAGER where (objAssessmentsForEvaluation.assessing_status == 0 || objAssessmentsForEvaluation.assessing_status == 1) && objAssessmentsForEvaluation.courseLinkId != null select new { assessmentId = objAssessmentsForEvaluation.assessment_Id, groupId = objAssessmentsForEvaluation.group_Id }); resAssessmentForMarking = resAssessmentForMarking.Where(s => resManagerGroup.Contains(s.groupId));
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)