/// <summary> /// Entry point /// </summary> static void Main() { try { CarsHouse carsHouse = new CarsHouse(); CarsHouseMenu Menu = CarsHouseMenu.getMenu(); Menu.Interact(carsHouse); } catch (System.Exception ex) { System.Console.WriteLine("Error: " + ex.Message); } }
public AveragePriceCommand(CarsHouse storage) { Storage = storage; }
public CountAllCommand(CarsHouse storage) { Storage = storage; }
public CountBrandsCommand(CarsHouse storage) { Storage = storage; }