Beispiel #1
0
        public Garage SetCurrentGarage(string garageName, string key, float height, float width, bool monitor)
        {
            currentGarage = new Garage(width, height, garageName, key);

            return(currentGarage);
        }
Beispiel #2
0
 public Garage SetCurrentGarage(string garageName)
 {
     currentGarage = garagesTypes.Single(garage => garage.name == garageName);
     return(currentGarage);
 }