Beispiel #1
0
        private async Task TurnOnAirCondition()
        {
            var smartHouse = new SmartHouseService();

            await ShowProgressScreen("Please wait...");

            var result = await smartHouse.TurnOnAirConditioner();

            await CompleteMessage($"Air conditioner {result?.Message}");
        }
Beispiel #2
0
 private async Task TurnOnAirCondition()
 {
     var smartHouseService = new SmartHouseService();
     await smartHouseService.TurnOnAirConditioner();
 }