Eviguard project
private filterEmployeesByPostion(employeesList: IEmployee[]): IEmployee[] {
return employeesList.filter((item) => {
return item.positions.some((position) => {
return position.id.toString() !== this.selectedPosition.id.toString();
});
});
}