コード例 #1
0
 public static DetailCandidateDTO GetData(int id)
 {
     return(new DetailCandidateDTO
     {
         DataCandidate = Manage_CandidateDTO.GetDataCandidate().FirstOrDefault(d => d.ID == id),
         DataJobExp = Manage_CandidateJobExperienceDTO.GetData().Where(d => d.CANDIDATE_ID == id).ToList(),
         DataDeliveryHistory = Manage_DeliveryHistoryDTO.GetData().Where(d => d.CANDIDATE_ID == id).ToList(),
         DataSelectionHistory = Manage_CandidateSelectionHistoryDTO.GetDataSelectionHistory().Where(d => d.CANDIDATE_ID == id).ToList()
     });
 }
コード例 #2
0
 //------------------------------------------------ get job experience
 public static List <CandidateJobExperienceDTO> GetJobExp(int CandidateId)
 {
     return(Manage_CandidateJobExperienceDTO.GetData().Where(d => d.CANDIDATE_ID == CandidateId).ToList());
 }