예제 #1
0
        public void Run()
        {
            int          _userChoise = 0;
            List <Truck> _trucks     = new AddTruck().ReturnTrucks();

            Console.Write("Enter ID: ");
            _userChoise = Convert.ToInt32(Console.ReadLine());
            new Garage().GetTransportInfo(_trucks[_userChoise - 1]);
        }
        public void Run()
        {
            List <Truck> _listOfTrucks = new AddTruck().ReturnTrucks();

            new Garage().ShowAll(_listOfTrucks);
        }