private void MapAssessment(AssessmentPerformanceLevel target) { target.AssessmentTitle = _assessment.AssessmentTitle; target.AssessedGradeLevelDescriptorId = _assessment.AssessedGradeLevelDescriptorId; target.AcademicSubjectDescriptorId = _assessment.AcademicSubjectDescriptorId; target.Version = _assessment.Version; }
private AssessmentPerformanceLevel Build() { var target = new AssessmentPerformanceLevel(); MapAssessment(target); return(target); }
private void MapMinimumScore(CreateModel createModel, PerformanceLevelDescriptorEnum performanceLevelDescriptor, AssessmentPerformanceLevel assessmentPerformanceLevel) { assessmentPerformanceLevel.PerformanceLevelDescriptorId = (int)performanceLevelDescriptor; switch (performanceLevelDescriptor) { case PerformanceLevelDescriptorEnum.Mastery: assessmentPerformanceLevel.MinimumScore = createModel.Mastery.ToString(); break; case PerformanceLevelDescriptorEnum.NearMastery: assessmentPerformanceLevel.MinimumScore = createModel.NearMastery.ToString(); break; } }
private void MapPerformanceLevel(CreateModel source, AssessmentPerformanceLevel target) { target.AssessmentReportingMethodTypeId = (int)source.ReportingMethod; }