Пример #1
0
        public static AssessmentInformationForm FromAssessmentInfo(AssessmentInformation assessmentInfo)
        {
            AssessmentInformationForm aif = new AssessmentInformationForm();

            aif.AssessmentName      = assessmentInfo.AssessmentName;
            aif.Author              = assessmentInfo.Author;
            aif.AssessmentWeighting = assessmentInfo.AssessmentWeighting;
            return(aif);
        }
Пример #2
0
 public static void PopulateAssessmentInformation(AssessmentInformation assessmentInfo, AssessmentInformationForm aif)
 {
     assessmentInfo.AssessmentName      = aif.AssessmentName;
     assessmentInfo.Author              = aif.Author;
     assessmentInfo.AssessmentWeighting = (int)aif.AssessmentWeighting;
 }