public async void WindowLoaded() { var instruments = await _instrumentRepository.GetAllInstrumentsAsync(); var list = instruments.ToList(); InstrumentData = new ObservableCollection <Instrument>(list); }