Exemple #1
0
 public void TranslateTrainingSeminarBDOToTrainingSeminarDTO(TrainingSeminarBDO tc, TrainingSeminar tcbdo)
 {
     tcbdo.AreaOfTraining = tc.AreaOfTraining;
     tcbdo.ConductedBy = tc.ConductedBy;
     tcbdo.DateFrom = tc.DateFrom;
     tcbdo.DateTo = tc.DateTo;
     tcbdo.NoOfHours = tc.NoOfHours;
     tcbdo.TeacherId = tc.TeacherId;
     tcbdo.Title = tc.Title;
     tcbdo.TSID = tc.TSID;
 }
Exemple #2
0
 public List<TrainingSeminar> ToTrainSemDTO(List<TrainingSeminarBDO> teb)
 {
     List<TrainingSeminar> tebdoList = new List<TrainingSeminar>();
     foreach (TrainingSeminarBDO t in teb)
     {
         TrainingSeminar tebdo = new TrainingSeminar();
         TranslateTrainingSeminarBDOToTrainingSeminarDTO(t, tebdo);
         tebdoList.Add(tebdo);
     }
     return tebdoList;
 }