Exemplo n.º 1
0
        public static async Task <string> Prompt(this OutputService outputService, string promptMessage)
        {
            await outputService.WriteLine(promptMessage);

            return(await outputService.ReadLine());
        }
Exemplo n.º 2
0
 private Task WriteLine(string message)
 {
     return(_outputService.WriteLine(FormatForConsole(message)));
 }