コード例 #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
 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;
     }
 }