public void RemoveHopper(string id) { var hopper = Hoppers.FirstOrDefault(h => h.Id == id); if (hopper != null) { Hoppers.Remove(hopper); } }