Esempio n. 1
0
        public async Task <ActionResult> IncrementTargetTemperature()
        {
            if (thermostat != null)
            {
                await thermostat.Increment();
            }

            return(Json(new { success = true }));
        }