Ejemplo n.º 1
0
        public async Task <HttpResponseMessage> IsDeviceOnline(string id)
        {
            ValidateArgumentNotNullOrWhitespace("id", id);

            return(await GetServiceResponseAsync <bool>(async() =>
            {
                bool result = await _deviceLogic.IsDeviceOnline(id);

                return result;
            }, false));
        }