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

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

            var result = await smartHouse.TurnOffAirConditioner();

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