Ejemplo n.º 1
0
        public Garage SetCurrentGarage(string garageName, string key, float height, float width, bool monitor)
        {
            currentGarage = new Garage(width, height, garageName, key);

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