Пример #1
0
 private void AddHousingDepartmentId(Guid departmentId)
 {
     if (HousingDepartmentIdList == null)
     {
         HousingDepartmentIdList = new List <Guid>();
     }
     if (!HousingDepartmentIdList.Contains(departmentId))
     {
         HousingDepartmentIdList.Add(departmentId);
     }
 }
Пример #2
0
 private void Apply(JobAssignEvent e)
 {
     HousingDepartmentIdList.Add(e.DepartmentId);
 }