Exemple #1
0
        /// <summary>
        /// 取得部門清單
        /// </summary>
        public List <DepartmentForBackend> GetDepartmentList(DeptListQueryParams param)
        {
            List <DepartmentForBackend> entities = null;

            using (EmployeeAuthorityDataAccess empAuthDao = new EmployeeAuthorityDataAccess())
            {
                entities = empAuthDao.GetDepartmentListForBackend(param);
                dbErrMsg = empAuthDao.GetErrMsg();
            }

            return(entities);
        }