public PromotionsRecordsJobsVacanciesBLL GetByOrganizationJobID(int OrganizationJobID) { try { PromotionsRecordsJobsVacancies PromotionRecordJobVacancy = new PromotionsRecordsJobsVacanciesDAL().GetByOrganizationJobID(OrganizationJobID); PromotionsRecordsJobsVacanciesBLL PromotionRecordJobVacancyBLL = new PromotionsRecordsJobsVacanciesBLL().MapPromotionRecordJobVacancy(PromotionRecordJobVacancy); return(PromotionRecordJobVacancyBLL); } catch { throw; } }
internal PromotionsRecordsJobsVacanciesBLL MapPromotionRecordJobVacancy(PromotionsRecordsJobsVacancies PromotionRecordJobVacancy) { try { PromotionsRecordsJobsVacanciesBLL PromotionRecordJobVacancyBLL = null; if (PromotionRecordJobVacancy != null) { PromotionRecordJobVacancyBLL = new PromotionsRecordsJobsVacanciesBLL(); PromotionRecordJobVacancyBLL.PromotionRecordJobVacancyID = PromotionRecordJobVacancy.PromotionRecordJobVacancyID; PromotionRecordJobVacancyBLL.PromotionRecord = new PromotionsRecordsBLL().MapPromotionRecord(PromotionRecordJobVacancy.PromotionsRecords); PromotionRecordJobVacancyBLL.JobVacancy = new OrganizationsJobsBLL().MapOrganizationJob(PromotionRecordJobVacancy.OrganizationsJobs); } return(PromotionRecordJobVacancyBLL); } catch { throw; } }