public PromotionsRecordsJobsVacanciesBLL GetByOrganizationJobID(int OrganizationJobID) { try { PromotionsRecordsJobsVacancies PromotionRecordJobVacancy = new PromotionsRecordsJobsVacanciesDAL().GetByOrganizationJobID(OrganizationJobID); PromotionsRecordsJobsVacanciesBLL PromotionRecordJobVacancyBLL = new PromotionsRecordsJobsVacanciesBLL().MapPromotionRecordJobVacancy(PromotionRecordJobVacancy); return(PromotionRecordJobVacancyBLL); } catch { throw; } }
public List <PromotionsRecordsJobsVacanciesBLL> GetPromotionsRecordsJobsVacancies() { List <PromotionsRecordsJobsVacancies> PromotionsRecordsJobsVacanciesList = new PromotionsRecordsJobsVacanciesDAL().GetPromotionsRecordsJobsVacancies(); List <PromotionsRecordsJobsVacanciesBLL> PromotionsRecordsJobsVacanciesBLLList = new List <PromotionsRecordsJobsVacanciesBLL>(); if (PromotionsRecordsJobsVacanciesList.Count > 0) { foreach (var item in PromotionsRecordsJobsVacanciesList) { PromotionsRecordsJobsVacanciesBLLList.Add(new PromotionsRecordsJobsVacanciesBLL().MapPromotionRecordJobVacancy(item)); } } return(PromotionsRecordsJobsVacanciesBLLList); }
public List <PromotionsRecordsJobsVacanciesBLL> GetByPromotionRecordID(int PromotionRecordID) { try { List <PromotionsRecordsJobsVacancies> PromotionsRecordsJobsVacanciesList = new PromotionsRecordsJobsVacanciesDAL().GetByPromotionRecordID(PromotionRecordID); List <PromotionsRecordsJobsVacanciesBLL> PromotionsRecordsJobsVacanciesBLLList = new List <PromotionsRecordsJobsVacanciesBLL>(); if (PromotionsRecordsJobsVacanciesList.Count > 0) { foreach (var item in PromotionsRecordsJobsVacanciesList) { PromotionsRecordsJobsVacanciesBLLList.Add(new PromotionsRecordsJobsVacanciesBLL().MapPromotionRecordJobVacancy(item)); } } return(PromotionsRecordsJobsVacanciesBLLList); } catch { throw; } }