public void DepartmentIndexUpdate(T_HR_DEPARTMENT depart, ref string strMsg) { using (DepartmentBLL bll = new DepartmentBLL()) { bll.DepartmentIndexUpdate(depart, ref strMsg); } }