public void TranslateWorkExperienceToWorkExperienceBDO(WorkExperience tc, WorkExperienceBDO tcbdo) { tcbdo.CompanyName = tc.CompanyName; tcbdo.MonthlySalary = tc.MonthlySalary; tcbdo.Position = tc.Position; tcbdo.StatusOfEmployment = tc.StatusOfEmployment; tcbdo.TeacherId = tc.TeacherId; tcbdo.WEId = tc.WEId; tcbdo.WorkExpFrom = tc.WorkExpFrom; tcbdo.WorkExpTo = tc.WorkExpTo; }
public List <WorkExperience> ToWorkExpDTO(List <WorkExperienceBDO> teb) { List <WorkExperience> tebdoList = new List <WorkExperience>(); foreach (WorkExperienceBDO t in teb) { WorkExperience tebdo = new WorkExperience(); TranslateWorkExperienceBDOToWorkExperienceDTO(t, tebdo); tebdoList.Add(tebdo); } return(tebdoList); }
public void TranslateWorkExperienceToWorkExperienceBDO(WorkExperience tc, WorkExperienceBDO tcbdo) { tcbdo.CompanyName = tc.CompanyName; tcbdo.MonthlySalary = tc.MonthlySalary; tcbdo.Position= tc.Position; tcbdo.StatusOfEmployment = tc.StatusOfEmployment; tcbdo.TeacherId = tc.TeacherId; tcbdo.WEId = tc.WEId; tcbdo.WorkExpFrom = tc.WorkExpFrom; tcbdo.WorkExpTo = tc.WorkExpTo; }
public List<WorkExperience> ToWorkExpDTO(List<WorkExperienceBDO> teb) { List<WorkExperience> tebdoList = new List<WorkExperience>(); foreach (WorkExperienceBDO t in teb) { WorkExperience tebdo = new WorkExperience(); TranslateWorkExperienceBDOToWorkExperienceDTO(t, tebdo); tebdoList.Add(tebdo); } return tebdoList; }