public void ExperienceAdd(T_HR_EXPERIENCE entity) { using (ExperienceBLL bll = new ExperienceBLL()) { bll.ExperienceAdd(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); } } }