public void Update(Car car) { _cars[car.Id] = car; }
public void Add(Car car) { car.Id = _nextId++; _cars.Add(car.Id, car); }