private void IsComputerAvilable(int id, List <int> freeComp) { ActivityType act = _lController.CurrentActivityDetails(id); if (act == ActivityType.On || act == ActivityType.Off) { lock (freeComp) { freeComp.Add(id); } } }