public AppHost(IConsoleMenuService consoleService, IConsolePrintingService printingService, IHostApplicationLifetime hostApplicationLifetime) { _consoleService = consoleService; _printingService = printingService; _hostApplicationLifetime = hostApplicationLifetime; }
public ConsoleMenuService(IConsolePrintingService printer, IChannelEngineApiService apiService) { _printer = printer; _apiService = apiService; }