Exemple #1
0
        public void EnterNewVehicle()
        {
            bool   isExists      = false;
            string licenseNumber = GarageUI.GetLicenseNumber();

            isExists = garage.HaveVehicleInGarage(licenseNumber);
            if (!isExists)
            {
                AddNewVehicle(licenseNumber);
            }
            else
            {
                GarageUI.MesegeChangeStatus();
            }
        }