Ejemplo n.º 1
0
        public async void LoadEventsAsync()
        {
            _observableCollection = await PersistencyService.LoadGenericFromJsonAsync <Event>("events.json");

            if (_observableCollection == null)
            {
                _observableCollection = new ObservableCollection <Event>();
            }
        }
Ejemplo n.º 2
0
 public async void LoadAccountsAsync()
 {
     _observableCollection = await PersistencyService.LoadGenericFromJsonAsync <Account>("accounts.json");
 }