public void AddPosition(Position position) { DepartmentPositions.Add(new DepartmentPosition { Department = this, Position = position }); }
public void RemovePosition(Position position) { int index = DepartmentPositions.FindIndex(d => d.PositionID == position.ID); if (index > -1) { DepartmentPositions.RemoveAt(index); } }