private static void classifyVehicle(Dictionary <Type, List <e_TypeOfPowerSource> > io_SupportredVehicles,
                                            int i_commandToDo, out Type o_TypeofViechle,
                                            out e_TypeOfPowerSource o_UserChosenVehiclePowersource)
        {
            int runningIndex = 1;

            o_UserChosenVehiclePowersource = e_TypeOfPowerSource.FuelTank;
            o_TypeofViechle = null;
            bool finishClassifyVehicle = false;

            foreach (Type type in io_SupportredVehicles.Keys)
            {
                List <e_TypeOfPowerSource> powerSources = null;
                io_SupportredVehicles.TryGetValue(type, out powerSources);
                foreach (e_TypeOfPowerSource powerSource in powerSources)
                {
                    if (runningIndex == i_commandToDo)
                    {
                        o_TypeofViechle = type;
                        o_UserChosenVehiclePowersource = powerSource;
                        finishClassifyVehicle          = true;
                        break;
                    }
                    runningIndex++;
                }

                if (finishClassifyVehicle)
                {
                    break;
                }
            }
        }
        private static void createNewVehicleHelper(Garage io_Garage, string i_CarLicense, e_TypeOfPowerSource i_TypeOfPowerSource, Type i_TypeOfVehicle)
        {
            List <String> generalDetails      = getGenralDeatailsVehicle(i_CarLicense);
            List <float>  powerSourceDeatails = (i_TypeOfPowerSource.Equals(e_TypeOfPowerSource.Battery)) ?
                                                getElectricalDetails() : getVeichelByFuelDetails();
            List <string> wheels = getWheelDetails();
            Dictionary <string, List <string> > vehicleUniqeProperties =
                SystemVehicleManger.GetVehicleUniqeProperties(i_TypeOfVehicle);
            Dictionary <string, string> vehicleUniqeDetails = getVehicleUniqDetails(vehicleUniqeProperties);

            SystemVehicleManger.CreateVehicleInGarage(io_Garage, generalDetails, powerSourceDeatails, wheels,
                                                      vehicleUniqeDetails, i_TypeOfVehicle, i_TypeOfPowerSource);
        }