public string constructAcademicHistoryBodySection(Models.AcademicHistory academicHistory)
        {
            string[] values =
            {
                "",
                academicHistory.HighSchoolRecord.LasHighSchoolAttended,
                academicHistory.HighSchoolRecord.Year.ToString(),
                academicHistory.HighSchoolRecord.Country,
                academicHistory.HighSchoolRecord.Aggregate,
                academicHistory.HighSchoolRecord.HighSchoolSeniorCertificate,
                "",
                "",
                "",
                academicHistory.TertiaryStudyRecord.TertiaryYear1Record.QualificationDescription,
                academicHistory.TertiaryStudyRecord.TertiaryYear1Record.Institution,
                academicHistory.TertiaryStudyRecord.TertiaryYear1Record.TotalCredits.ToString(),
                academicHistory.TertiaryStudyRecord.TertiaryYear1Record.YearsOfStudy.ToString(),
                academicHistory.TertiaryStudyRecord.TertiaryYear1Record.Completed,
                "",
                academicHistory.TertiaryStudyRecord.TertiaryYear2Record.QualificationDescription,
                academicHistory.TertiaryStudyRecord.TertiaryYear2Record.Institution,
                academicHistory.TertiaryStudyRecord.TertiaryYear2Record.TotalCredits.ToString(),
                academicHistory.TertiaryStudyRecord.TertiaryYear2Record.YearsOfStudy.ToString(),
                academicHistory.TertiaryStudyRecord.TertiaryYear2Record.Completed,
                "",
                academicHistory.TertiaryStudyRecord.TertiaryYear3Record.QualificationDescription,
                academicHistory.TertiaryStudyRecord.TertiaryYear3Record.Institution,
                academicHistory.TertiaryStudyRecord.TertiaryYear3Record.TotalCredits.ToString(),
                academicHistory.TertiaryStudyRecord.TertiaryYear3Record.YearsOfStudy.ToString(),
                academicHistory.TertiaryStudyRecord.TertiaryYear3Record.Completed,
            };

            return(ConstructTable(SystemConstants.academicHistoryTitles, values, "5. ACADEMIC HISTORY"));
        }
        public int SaveAcademicHistory(Models.AcademicHistory academicHistory)
        {
            var dbAcademicHistory = new AcademicHistory()
            {
                HighSchoolRecordId    = SaveHighSchoolRecord(academicHistory.HighSchoolRecord),
                TertiaryStudyRecordId = SaveTertiaryStudyRecord(academicHistory.TertiaryStudyRecord)
            };

            _ffsaDbContext.Add(dbAcademicHistory);
            _ffsaDbContext.SaveChanges();

            return(dbAcademicHistory.Id);
        }