private async void ExecuteGetStats(object param) { try { var stats = await client.GetStats(); MessageBox.Show(string.Join(Environment.NewLine, stats)); } catch (Exception e) { MessageBox.Show("Gettings stats failed!"); } }
private async void ExecuteGetStats(object param) { try { var stats = await client.GetStats(); MessageBox.Show(string.Join(Environment.NewLine, stats)); } catch (Exception e) { MessageBox.Show("Gettings stats failed!"); } }