using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using UIServices;

namespace ConsoleUIDecorators
{
    public class ConsoleUserInteraction : IUserInteraction
    {
        public bool Confirm(string message)
        {
            Console.WriteLine("{0} [t/N]", message);
            var keyInfo = Console.ReadKey();
            return (keyInfo.Key == ConsoleKey.T);
        }
    }
}
