示例#1
0
        /// <summary>
        /// 儲存員工身分後端作業授權清單
        /// </summary>
        public bool SaveListOfEmployeeRolePrivileges(RolePrivilegeParams param)
        {
            bool result = false;

            using (EmployeeAuthorityDataAccess empAuthDao = new EmployeeAuthorityDataAccess())
            {
                List <EmployeeRoleOperationsDesc> empRoleOps = param.GenEmpRoleOps();
                result   = empAuthDao.SaveListOfEmployeeRolePrivileges(empRoleOps);
                dbErrMsg = empAuthDao.GetErrMsg();
            }

            return(result);
        }