public void RefreshQuarantineByComputerIds(IEnumerable <int> endpointIds) { Quarantines.Clear(); foreach (var item in getQuarantineItems(endpointIds)) { Quarantines.Add(item); } }
private void RefreshQuarantineByComputerIds(IEnumerable <EndPoint> endPoints) { var endpointIds = endPoints.Select(e => e.EndpointId).ToList(); Quarantines.Clear(); foreach (var item in getQuarantineItems(endpointIds)) { Quarantines.Add(item); } }