Ejemplo n.º 1
0
 public int EducateHistoryDelete(List<T_HR_EDUCATEHISTORY> deledus)
 {
     using (EducateHistoryBLL edubll = new EducateHistoryBLL())
     {
         return edubll.EducateHistoryDelete(deledus);
     }
 }
Ejemplo n.º 2
0
 public int EducateHistoryUpdate(List<T_HR_EDUCATEHISTORY> entity)
 {
     using (EducateHistoryBLL bll = new EducateHistoryBLL())
     {
         return bll.EducateHistoryUpdate(entity);
     }
 }
Ejemplo n.º 3
0
 public void EducateHistoryAdd(T_HR_EDUCATEHISTORY entity)
 {
     using (EducateHistoryBLL bll = new EducateHistoryBLL())
     {
         bll.EducateHistoryAdd(entity);
     }
 }
Ejemplo n.º 4
0
 public List<T_HR_EDUCATEHISTORY> GetEducateHistoryAll(string resumeID)
 {
     using (EducateHistoryBLL bll = new EducateHistoryBLL())
     {
         IQueryable<T_HR_EDUCATEHISTORY> q = bll.GetEducateHistoryAll(resumeID);
         return q.Count() > 0 ? q.ToList() : null;
     }
 }
Ejemplo n.º 5
0
 public void ResumeUpdate(T_HR_RESUME entity, List<T_HR_EXPERIENCE> experience, List<T_HR_EDUCATEHISTORY> eduHistory, List<T_HR_EXPERIENCE> delexps, List<T_HR_EDUCATEHISTORY> deledus, ref string strMsg)
 {
     using (ResumeBLL bll = new ResumeBLL())
     {
         bll.ResumeUpdate(entity, ref  strMsg);
         ExperienceBLL expbll = new ExperienceBLL();
         expbll.ExperienceDelete(delexps);
         expbll.ExperienceUpdate(experience);
         EducateHistoryBLL edubll = new EducateHistoryBLL();
         edubll.EducateHistoryDelete(deledus);
         edubll.EducateHistoryUpdate(eduHistory);
     }
 }
Ejemplo n.º 6
0
 public void ResumeAdd(T_HR_RESUME entity, T_HR_EXPERIENCE[] experience, T_HR_EDUCATEHISTORY[] eduHistory, ref string strMsg)
 {
     using (ResumeBLL bll = new ResumeBLL())
     {
         bll.ResumeAdd(entity, ref strMsg);
         ExperienceBLL expbll = new ExperienceBLL();
         foreach (var exp in experience)
         {
             expbll.ExperienceAdd(exp);
         }
         EducateHistoryBLL edubll = new EducateHistoryBLL();
         foreach (var edu in eduHistory)
         {
             edubll.EducateHistoryAdd(edu);
         }
     }
 }