public static void Main() { IInputHandler input = new ConsoleInputHandler(); IRenderer renderer = new ConsoleRenderer(); BookStoreEngine engine = new BookStoreEngine(input, renderer); engine.Run(); }
public static void Main() { Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture; IInputHandler inputHandler = new ConsoleInputHandler(); IRenderer renderer = new FileRenderer(); BookStoreEngine engine = new BookStoreEngine(renderer, inputHandler); engine.Run(); }