Esempio n. 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}");
        }
Esempio n. 2
0
 private async Task TurnOnAirCondition()
 {
     var smartHouseService = new SmartHouseService();
     await smartHouseService.TurnOnAirConditioner();
 }