Esempio n. 1
0
 public void TranslateTeacherEligibilityToTeacherEligibilityBDO(TeacherEligibility te, TeacherEligibilityBDO tebdo)
 {
     tebdo.DateOfExam    = te.DateOfExam;
     tebdo.Eligibility   = te.Eligibility;
     tebdo.EligibilityId = te.EligibilityId;
     tebdo.IssueDate     = te.IssueDate;
     tebdo.LicenseNumber = te.LicenseNumber;
     tebdo.PlaceOfExam   = te.PlaceOfExam;
     tebdo.Rating        = te.Rating;
     tebdo.TeacherId     = te.TeacherId;
 }
Esempio n. 2
0
        public List <TeacherEligibility> ToEligibilityDTO(List <TeacherEligibilityBDO> te)
        {
            List <TeacherEligibility> teList = new List <TeacherEligibility>();

            foreach (TeacherEligibilityBDO t in te)
            {
                TeacherEligibility tedo = new TeacherEligibility();
                TranslateTeacherEligibilityBDOToTeacherEligibilityDTO(t, tedo);
                teList.Add(tedo);
            }
            return(teList);
        }
Esempio n. 3
0
 public void TranslateTeacherEligibilityToTeacherEligibilityBDO(TeacherEligibility te, TeacherEligibilityBDO tebdo)
 {
     tebdo.DateOfExam = te.DateOfExam;
     tebdo.Eligibility = te.Eligibility;
     tebdo.EligibilityId = te.EligibilityId;
     tebdo.IssueDate = te.IssueDate;
     tebdo.LicenseNumber = te.LicenseNumber;
     tebdo.PlaceOfExam = te.PlaceOfExam;
     tebdo.Rating = te.Rating;
     tebdo.TeacherId = te.TeacherId;
 }
Esempio n. 4
0
 public List<TeacherEligibility> ToEligibilityDTO(List<TeacherEligibilityBDO> te)
 {
     List<TeacherEligibility> teList = new List<TeacherEligibility>();
     foreach (TeacherEligibilityBDO t in te)
     {
         TeacherEligibility tedo = new TeacherEligibility();
         TranslateTeacherEligibilityBDOToTeacherEligibilityDTO(t, tedo);
         teList.Add(tedo);
     }
     return teList;
 }