private async Task ListScanners() { Scanners.Clear(); var result = Service.GetAllScanners(); foreach (var item in result) { Scanners.Add(item); } await Task.CompletedTask; }
private async Task ListScanners() { Scanners.Clear(); var client = new DeviceClient(); var result = client.GetAllScanners(); foreach (var item in result) { Scanners.Add(item); } await Task.CompletedTask; }