Example #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;
 }
Example #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);
        }
Example #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;
 }
Example #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;
 }