//Hiennv public List<InfoSystemUserLiftSalaryEN> LoadListInfoSystemUserLiftSalatry(DateTime dateChoose) { try { ReceptionTaskBO aReceptionTaskBO = new ReceptionTaskBO(); List<InfoSystemUserLiftSalaryEN> aListTemp = aReceptionTaskBO.GetListSystemUserLiftSalary(dateChoose); List<InfoSystemUserLiftSalaryEN> aListInfoSystemUserLiftSalaryEN = new List<InfoSystemUserLiftSalaryEN>(); InfoSystemUserLiftSalaryEN aInfoSystemUserLiftSalaryEN; foreach (InfoSystemUserLiftSalaryEN item in aListTemp) { aInfoSystemUserLiftSalaryEN = new InfoSystemUserLiftSalaryEN(); aInfoSystemUserLiftSalaryEN.ID = item.ID; aInfoSystemUserLiftSalaryEN.UserGroup = item.UserGroup; aInfoSystemUserLiftSalaryEN.Email = item.Email; aInfoSystemUserLiftSalaryEN.Username = item.Username; aInfoSystemUserLiftSalaryEN.Name = item.Name; aInfoSystemUserLiftSalaryEN.Password = item.Password; aInfoSystemUserLiftSalaryEN.Birthday = item.Birthday; aInfoSystemUserLiftSalaryEN.Identifier1 = item.Identifier1; aInfoSystemUserLiftSalaryEN.Identifier2 = item.Identifier2; aInfoSystemUserLiftSalaryEN.Identifier3 = item.Identifier3; aInfoSystemUserLiftSalaryEN.Image = item.Image; aInfoSystemUserLiftSalaryEN.Gender = item.Gender; if (item.Gender > 0) { aInfoSystemUserLiftSalaryEN.DisplayGender = CORE.CONSTANTS.SelectedGender(Convert.ToInt32(item.Gender)).Name; } aInfoSystemUserLiftSalaryEN.IDRefAnotherSystem = item.IDRefAnotherSystem; aInfoSystemUserLiftSalaryEN.IDRefMailSystem = item.IDRefMailSystem; aInfoSystemUserLiftSalaryEN.Type = item.Type; aInfoSystemUserLiftSalaryEN.Status = item.Status; aInfoSystemUserLiftSalaryEN.Disable = item.Disable; aInfoSystemUserLiftSalaryEN.Identifier1CreatedDate = item.Identifier1CreatedDate; aInfoSystemUserLiftSalaryEN.Identifier2CreatedDate = item.Identifier2CreatedDate; aInfoSystemUserLiftSalaryEN.Identifier3CreatedDate = item.Identifier3CreatedDate; aInfoSystemUserLiftSalaryEN.PlaceOfIssue1 = item.PlaceOfIssue1; aInfoSystemUserLiftSalaryEN.PlaceOfIssue2 = item.PlaceOfIssue2; aInfoSystemUserLiftSalaryEN.PlaceOfIssue3 = item.PlaceOfIssue3; aInfoSystemUserLiftSalaryEN.SkuTableSalary = item.SkuTableSalary; aInfoSystemUserLiftSalaryEN.Coefficent = item.Coefficent; aInfoSystemUserLiftSalaryEN.SalaryNet = item.SalaryNet; aInfoSystemUserLiftSalaryEN.SalaryCross = item.SalaryCross; aInfoSystemUserLiftSalaryEN.StartDate = item.StartDate; aInfoSystemUserLiftSalaryEN.EndDate = item.EndDate; aListInfoSystemUserLiftSalaryEN.Add(aInfoSystemUserLiftSalaryEN); } return aListInfoSystemUserLiftSalaryEN; } catch (Exception ex) { return null; MessageBox.Show("frmMain.LoadListContractExpiring\n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error); } }