Ejemplo n.º 1
0
 public void TranslateTrainingSeminarToTrainingSeminarBDO(TrainingSeminar tc, TrainingSeminarBDO 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;
 }
Ejemplo n.º 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);
        }
Ejemplo n.º 3
0
 public void TranslateTrainingSeminarToTrainingSeminarBDO(TrainingSeminar tc, TrainingSeminarBDO 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;
 }
Ejemplo n.º 4
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;
 }