public void GeneratePostSalary(string postID, string year, string month) { EmployeePostBLL bll = new EmployeePostBLL(); EmployeeSalaryRecordBLL bllemp = new EmployeeSalaryRecordBLL(); List <SMT_HRM_EFModel.T_HR_EMPLOYEEPOST> emplist = bll.GetEmployeePostByPostID(postID); foreach (var emp in emplist) { employes.Add(bllemp.GetEmployeeInfor(emp.T_HR_EMPLOYEE.EMPLOYEEID)); employeIDs.Add(emp.T_HR_EMPLOYEE.EMPLOYEEID); } }