private void getCountries() { if (!this.countriesLoaded) { Toggl.GetCountries(); this.countriesLoaded = true; } }
private void getCountries() { Dispatcher.Invoke(() => { if (!this.countriesLoaded) { Toggl.GetCountries(); this.countriesLoaded = true; } }); }