private void SetCar() { string clientId = null; string carId = null; Console.WriteLine("Enter the ID of client, please: "); clientId = Console.ReadLine(); Console.WriteLine("Enter the ID of car, please: "); carId = Console.ReadLine(); carRental.GetCar(clientId, carId); }
private void GetCar() { Console.WriteLine("Enter the ID of car, please: "); carRental.GetCar(this.Id, Console.ReadLine()); }