Skip to content

Commit

Permalink
Removed commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
hortha committed Mar 28, 2024
1 parent 0775b47 commit cf9b06c
Showing 1 changed file with 0 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,32 +128,6 @@ public class GetTeacherHandler(

if ((request.Include & (GetTeacherRequestIncludes.NpqQualifications | GetTeacherRequestIncludes.HigherEducationQualifications)) != 0)
{
////string[]? columnNames = new[]
////{
//// dfeta_qualification.Fields.dfeta_CompletionorAwardDate,
//// dfeta_qualification.Fields.dfeta_Type,
//// dfeta_qualification.Fields.StateCode
////};

////string[]? heQualificationColumnNames = null;
////string[]? heSubjectColumnNames = null;

////if (request.Include.HasFlag(GetTeacherRequestIncludes.HigherEducationQualifications))
////{
//// heQualificationColumnNames = new[]
//// {
//// dfeta_hequalification.PrimaryIdAttribute,
//// dfeta_hequalification.Fields.dfeta_name
//// };

//// heSubjectColumnNames = new[]
//// {
//// dfeta_hesubject.PrimaryIdAttribute,
//// dfeta_hesubject.Fields.dfeta_name,
//// dfeta_hesubject.Fields.dfeta_Value
//// };
////}

qualifications = await crmQueryDispatcher.ExecuteQuery(
new GetQualificationsByContactIdQuery(
teacher.Id,
Expand All @@ -163,12 +137,6 @@ public class GetTeacherHandler(
dfeta_qualification.Fields.dfeta_Type,
dfeta_qualification.Fields.StateCode),
IncludeHigherEducationDetails: request.Include.HasFlag(GetTeacherRequestIncludes.HigherEducationQualifications)));

////qualifications = await dataverseAdapter.GetQualificationsForTeacher(
//// teacher.Id,
//// columnNames,
//// heQualificationColumnNames,
//// heSubjectColumnNames);
}

bool pendingNameChange = default, pendingDateOfBirthChange = default;
Expand Down

0 comments on commit cf9b06c

Please sign in to comment.