public void EducateHistoryAdd(T_HR_EDUCATEHISTORY entity) { using (EducateHistoryBLL bll = new EducateHistoryBLL()) { bll.EducateHistoryAdd(entity); } }
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); } } }