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