コード例 #1
0
        public PromotionsRecordsJobsVacanciesBLL GetByOrganizationJobID(int OrganizationJobID)
        {
            try
            {
                PromotionsRecordsJobsVacancies    PromotionRecordJobVacancy    = new PromotionsRecordsJobsVacanciesDAL().GetByOrganizationJobID(OrganizationJobID);
                PromotionsRecordsJobsVacanciesBLL PromotionRecordJobVacancyBLL = new PromotionsRecordsJobsVacanciesBLL().MapPromotionRecordJobVacancy(PromotionRecordJobVacancy);

                return(PromotionRecordJobVacancyBLL);
            }
            catch
            {
                throw;
            }
        }
コード例 #2
0
        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);
        }
コード例 #3
0
        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;
            }
        }