Example #1
0
        private async Task ShutDownPC(Message message)
        {
            var result = PCManager.ShutDown(_logger);

            if (result)
            {
                await SendSimpleMessage(message, "Your PC was shut down, Master");
            }
            else
            {
                await SendSimpleMessage(message, "We have some problems, Master...");
            }
        }